Calculates the inverse of a quaternion.
The 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));
Calculates the inverse of a quaternion.