For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
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
Sets a quat from the given angle and rotation axis, then returns it.