#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 the quaternion to be normalized. |
|---|---|
| unit | Pointer to the resultant quaternion. Okay if src = unit. |
None.
Normalizes a quaternion src and places the resultant 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 each of C_QUATNormalize/PSQUATNormalize explicitly.
2006/03/01 Initial version.
CONFIDENTIAL