linearly v0.32.0 • Docs
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
linearly v0.32.0 • Docs
linearly v0.32.0 / quat / rotateX
rotateX(
a
,deg
):quat
Rotates a quaternion by the given angle about the X axis
• a: quat
quat to rotate
• deg: number
angle to rotate, in degrees