linearly v0.32.0 • Docs
linearly v0.32.0 / quat / fromAxisAngle
Function: fromAxisAngle()
fromAxisAngle(
axis
,deg
):quat
Sets a quat from the given angle and rotation axis, then returns it.
Parameters
• axis: vec3
the axis around which to rotate
• deg: number
the angle in degrees