• Rotate a 3D vector around the x-axis

    Parameters

    • out: vec3

      The receiving vec3

    • a: ReadonlyVec3

      The vec3 point to rotate

    • b: ReadonlyVec3

      The origin of the rotation

    • rad: number

      The angle of rotation in radians

    Returns vec3

    out

Generated using TypeDoc