#include <revolution/mtx.h> void C_QUATInverse ( const Quaternion* src, Quaternion* inv ); void PSQUATInverse ( const Quaternion* src, Quaternion* inv ); #define QUATInverse C_QUATInverse // for debug build #define QUATInverse PSQUATInverse // for nondebug build
| src | Pointer to the source Quaternion to be inverted. |
|---|---|
| inv | Pointer to the resultant inverse Quaternion. Ok if src = inv. Ok if src = inv. |
None.
Computes the inverse of quaternion src and places the resultant quaternion in inv.
During a debug build, QUATInverse is interpreted as C_QUATInverse, which is a normal C language version. During a non-debug build for a Broadway processor, the paired-singles equivalent of this function, PSQUATInverse, will be automatically substituted. You can also call each of C_QUATInverse/PSQUATInverse explicitly.
2006/03/01 Initial version.
CONFIDENTIAL