#include <nnsys/g3d/util.h>
BOOL NNS_G3dSetResultMtx( const NNSG3dRenderObj* pRenderObj, const MtxFx43* pos, const MtxFx33* nrm, u32 nodeID );
| pRenderObj | Pointer to the rendering object |
pos |
Pointer to the clip coordinate matrix |
| nrm | Pointer to the directional vector matrix |
| nodeID | The node ID |
Returns TRUE if the matrix was able to be substituted in the corresponding stack position.
If the matrix that corresponds to nodeID after execution of the NNS_G3dDraw function is configured so that it remains in the matrix stack (if the -s option is used with g3dcvtr, all matrices that correspond to the nodeID are stored in the matrix stack), the matrices that are specified by pos and nrm are substituted in the corresponding stack position. A TRUE is returned if substitution was possible, and a FALSE is returned if not.
When the return value is TRUE, the matrix mode will be changed to position / vector matrix mode. It is OK to have a NULL for nrm, but not for pos.
08/02/2004 Initial version.