clik-engine API
    Preparing search index...

    Function RotateVec3

    • Rotates a vector in place by axis angle.

      This is the same as transforming a point by an axis-angle quaternion, but it has higher precision.

      Parameters

      • vec: Vector3

        The vector to be rotated.

      • axis: Vector3

        The axis to rotate around.

      • radians: number

        The angle of rotation in radians.

      Returns Vector3