• Converts an angle or two angles to a 2D vector or a 3D vector, respectively.

    Parameters

    • rad1: number

      The only angle (for 2D vectors) or the first angle (for 3D vectors)

    • Optional rad2: number

      The second angle (for 3D vectors)

    Returns ChalkboardVector

Generated using TypeDoc