linearly v0.32.0Docs


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

Defined in

src/quat.ts:126open in new window