conjugate method

void conjugate()

Negate the vector part. For a unit quaternion this is the inverse.

Implementation

void conjugate() {
  x = -x;
  y = -y;
  z = -z;
}