G3_MatrixMode

# G3*_MtxMode

## C Specification

      #include <nitro/gx/g3imm.h>
      #include <nitro/gx/g3b.h>
      #include <nitro/gx/g3c.h>

      void G3_MtxMode(GXMtxMode mode);

      // Below are APIs for creating the display list (command list)
      void G3B_MtxMode(GXDLInfo* info, GXMtxMode mode);
      void G3C_MtxMode(GXDLInfo* info, GXMtxMode mode);
      void G3BS_MtxMode(GXDLInfo* info, GXMtxMode mode);
      void G3CS_MtxMode(GXDLInfo* info, GXMtxMode mode);

## Description

This function sets matrix mode. `mode` is selected from the following:

`GX_MTXMODE_PROJECTION` | Projection mode
`GX_MTXMODE_POSITION` | Position mode
`GX_MTXMODE_POSITION_VECTOR` | Position-Vector simultaneous set mode
`GX_MTXMODE_TEXTURE` | Texture mode

The following indicates the type definition for the `GXMtxMode` format.

    typedef enum
    {
        GX_MTXMODE_PROJECTION = 0,
        GX_MTXMODE_POSITION = 1,
        GX_MTXMODE_POSITION_VECTOR = 2,
        GX_MTXMODE_TEXTURE = 3
    }
    GXMtxMode;;

## Arguments

`info` | Command list information
`mode` | Matrix mode

## Return Values

None

## See Also

`G3*_MtxMode, G3*_Identity, G3*_LoadMtx43, G3*_LoadMtx44, G3*_MultMtx43, G3*_MultMtx44, G3*_MultMtx33, G3*_PushMtx, G3*_PopMtx, G3*_StoreMtx, G3*_RestoreMtx, G3*_Scale, G3*_Translate`

## Revision History

01/19/2004 Initial Version