Constructs quaternion from single value or array of values
Construct quaternion from euler angles
Constructs quaterion from rotation matrix
Constructs quaternion from axis angle
Alias to allow easy data access
Normalises quaternion in place
Normalises quaternion
Calculates angle between two quaternions
Returns rotation angle and axis
Returns copy of quaterion
Performs dot product
Is quaternion approximately close to v
Returns quaternion length
Returns squared quaternion length
Linearly interpolates quaternion
Normalized lerp
Normalises quaternion in place
Normalises quaternion
opBinary x [+, -, *, /, %] y
opBinary x [+, -, *, /, %] y
opCast cast(x) y
Cast to bool
opCmp x [< > <= >=] y
opEquals x == y
opOpAssign x [+, -, *, /, %]= y
opOpAssign x [+, -, *, /, %]= y
opUnary [-, +, --, ++] x
Invert quaternion
Returns pointer to data
Spherically interpolates quaternion
Returns hash
Returns string representation of quaternion: [1.00, 1.00,... , 1.00]
Mixes in swizzle
Calculates quaternion based on rotation between from and to
Quat data
Struct repesentation of quaterion