MTX_Inverse43

C Specification

#include <nitro/fx/fx_mtx43.h>

s32 MTX_Inverse43(const MtxFx43 * pSrc, MtxFx43 * pDst);

Arguments

pSrc The pointer to a 4x3 matrix.
pDst   The pointer to a 4x3 matrix.

Return Values

When a value of 0 is returned, the inverse matrix exists. When anything other than a value of 0 is returned, the inverse matrix does not exist.

Description

If an inverse matrix exists, this function stores the inverse matrix that is located in *pSrc in *pDst, and then returns 0. If no inverse matrix exists, a non-zero value is returned, and *pDst will be unchanged. pSrc and pDst can be pointers to the same matrix.

The divider is used internally. Refer to Divider Usage Notes when using this function inside an interrupt.

See Also

MtxFx43, fx32

Revision History

01/19/2004 Initial version.


CONFIDENTIAL