A quaternion, used to represent rotation.
Creates a new quat.
w component of the quat.
x component of the quat.
y component of the quat.
z component of the quat.
Returns the dot product of the two quats.
Returns whether this quat and b are equal.
b
Returns the rotation angle of the quat.
Returns the rotation axis of the quat.
Returns an inverted version of the quat.
Returns the product of this quat and b.
Returns the result of rotating direction vector vec3 by this quat.
vec3
Normalizes the quat.
Returns an euler angle representation of the quat, in radians.
Returns a string representation of the quat.
Generated using TypeDoc
Description
A quaternion, used to represent rotation.