@blinkk/degu
    Preparing search index...

    Function calculate2dPointRotationWithDistance

    • Rotates a point around another point with angle and distance. This is similar to [[mathf.calculate2dPointRotation]] except that you are specifying a distance as well.

      Parameters

      • cx: number

        The x center point to rotate around.

      • cy: number

        The y center point to rotate around.

      • x: number

        The x value of the point to be rotated prior to rotation.

      • y: number

        The y value of the point to be rotated prior to rotation.

      • angle: number

        The angle in radians

      • distance: number

        The distance from cx and cy in which we should place the new coordinates to.

      Returns { x: number; y: number }