phaser - v3.90.0
    Preparing search index...

    Function Rotate

    • Rotate a given point by a given angle around the origin (0, 0), in an anti-clockwise direction.

      Parameters

      • point: object | Point

        The point to be rotated.

      • angle: number

        The angle to be rotated by in an anticlockwise direction.

      Returns Point