#include <revolution/mtx.h>
void C_QUATNormalize ( const Quaternion* src, Quaternion* unit );
void PSQUATNormalize ( const Quaternion* src, Quaternion* unit );
#define QUATNormalize C_QUATNormalize // for debug build
#define QUATNormalize PSQUATNormalize // for nondebug build
src |
Pointer to Quaternion to be normalized. |
unit |
Pointer to resultant Quaternion. Acceptable if src = unit. |
None.
Normalizes a quaternion src and places the resulting unit quaternion in unit.
During a debug build, QUATNormalize is interpreted as C_QUATNormalize, which is a normal C language version. During a non-debug build for a Broadway processor, the paired-singles equivalent of this function, PSQUATNormalize, will be automatically substituted. You can also call C_QUATNormalize or PSQUATNormalize explicitly.
03/01/2006 Initial version.