Q3Quaternion_Normalize
You can use the Q3Quaternion_Normalize function to normalize a quaternion.
TQ3Quaternion *Q3Quaternion_Normalize (
const TQ3Quaternion *quaternion,
TQ3Quaternion *result);
quaternion
- A quaternion.
result
- On exit, the normalized form of
quaternion.
DESCRIPTION
The Q3Quaternion_Normalize function returns, as its function result and in the result parameter, the normalized form of the quaternion quaternion. Note that on entry the result parameter can be the same as the quaternion parameter.