linearly v0.32.0 • Docs
linearly v0.32.0 / quat / angle
Function: angle()
angle(
a
,b
):number
Gets the angular distance between two unit quaternions
Parameters
• a: quat
Origin unit quaternion
• b: quat
Destination unit quaternion
Returns
number
Angle, in degrees, between the two quaternions