linearly v0.32.0Docs


linearly v0.32.0 / quat / rotateZ

Function: rotateZ()

rotateZ(a, deg): quat

Rotates a quaternion by the given angle about the Z axis

Parameters

a: quat

quat to rotate

deg: number

angle (in degrees) to rotate

Returns

quat

Defined in

src/quat.ts:222open in new window