Function setAxisAngle
Parameters
- out: quat
the receiving quaternion
- axis: ReadonlyVec3
the axis around which to rotate
- rad: number
the angle in radians
Returns quat
out
- out: quat
Was this helpful?
the receiving quaternion
the axis around which to rotate
the angle in radians
out
Sets a quat from the given angle and rotation axis, then returns it.