• Returns a new Vector3 instance with the given polar coordinates.

    Parameters

    • theta: number

      The angle in radians.

    • radius: number = 1

      The radius. Default is 1.

    Returns Vector3

    A new Vector3 instance with the given polar coordinates.