Calculates the inverse of a quaternion.
// Returns 0.0333 - 0.0667i - 0.1j - 0.1333kconst inverse = Chalkboard.quat.invert(Chalkboard.quat.init(1, 2, 3, 4)); Copy
// Returns 0.0333 - 0.0667i - 0.1j - 0.1333kconst inverse = Chalkboard.quat.invert(Chalkboard.quat.init(1, 2, 3, 4));
The quaternion
Calculates the inverse of a quaternion.
Example