MCL 1.3.5
Represents a quaternion using double-precision floating-point components.
A quaternion is defined as: q = w + xi + yj + zk where (x, y, z) is the imaginary (vector) part and w is the real (scalar) part.
This implementation does NOT automatically normalize instances. If the quaternion represents a rotation, it is recommended to use a unit quaternion.
Parameters
x
X component of the imaginary part.
y
Y component of the imaginary part.
z
Z component of the imaginary part.
w
Scalar (real) component.