#include <nitro/fx/fx_mtx22.h>
s32 MTX_Inverse22(const MtxFx22 * pSrc, MtxFx22 * pDst);
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.
pSrc |
The pointer to a 2x2 matrix. |
pDst |
The pointer to a 2x2 matrix. |
Returns a value of 0 if an inverse matrix exists. Returns a non-zero value if no inverse matrix exists.
10/19/2004 Corrected #include statement.
04/15/2004 Initial version.