linearly v0.32.0Docs


linearly v0.32.0 / quat / rotateX

Function: rotateX()

rotateX(a, deg): quat

Rotates a quaternion by the given angle about the X axis

Parameters

a: quat

quat to rotate

deg: number

angle to rotate, in degrees

Returns

quat

Defined in

src/quat.ts:174open in new window