#include <revolution/gx.h>
void GXSetCurrentMtx( u32 id );
id |
Specifies the matrix name |
None.
This matrix id is used to select the current modelview transform matrix and normal transform matrix, as long as a matrix index is not present in the vertex data (see GXSetVtxDesc). If the current vertex descriptor enables GX_VA_PNMTXIDX, the matrix id specified by GXSetCurrentMtx will be overwritten when the vertices are drawn. The valid matrix indices are enumerated by GXPosNrmMtx.
GXInit sets GX_PNMTX0 as the default matrix initially:
GXSetCurrentMtx(GX_PNMTX0);
GXLoadNrmMtxImm
GXLoadNrmMtxIndx3x3
GXLoadPosMtxImm
GXLoadPosMtxIndx
2006/03/01 Initial version.
CONFIDENTIAL