#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 source Quaternion to be inverted. |
inv |
Pointer to resultant inverse Quaternion. Acceptable if src = inv. |
None.
Computes the inverse of quaternion src and places the resulting 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 C_QUATInverse or PSQUATInverse explicitly.
03/01/2006 Initial version.