Quaternion::Normalize
Defined in: C4Quaternion.h
Normalizes a quaternion.
Prototype
Quatnerion& Normalize(void);
Description
The Normalize function multiplies a quaternion by the inverse of its magnitude, normalizing it to unit length. Normalizing the zero quaternion produces undefined results.
The return value is a reference to the quaternion object.
|