Function rotateX
Parameters
- out: quat
quat receiving operation result
- a: ReadonlyQuat
quat to rotate
- rad: number
angle (in radians) to rotate
Returns quat
out
- out: quat
Was this helpful?
quat receiving operation result
quat to rotate
angle (in radians) to rotate
out
Rotates a quaternion by the given angle about the X axis