Pass:rotate

Edit

Rotates the coordinate system.



Rotate the coordinate system using numbers.

Arguments

NameTypeDescription
anglenumber The amount to rotate the coordinate system by, in radians.
axnumber The x component of the axis of rotation.
aynumber The y component of the axis of rotation.
aznumber The z component of the axis of rotation.

Returns

Nothing

Rotate the coordinate system using a quaternion.

Arguments

NameTypeDescription
rotationQuat A quaternion containing the rotation to apply.

Returns

Nothing

See also