SSBM Decomp
Loading...
Searching...
No Matches
GXTransform.h File Reference

Go to the source code of this file.

Macros

#define GX_PROJECTION_SZ   7
#define GX_VIEWPORT_SZ   6

Functions

void GXProject (f32 x, f32 y, f32 z, f32 mtx[3][4], f32 *pm, f32 *vp, f32 *sx, f32 *sy, f32 *sz)
void GXSetProjection (f32 mtx[4][4], GXProjectionType type)
void GXSetProjectionv (f32 *ptr)
void GXLoadPosMtxImm (f32 mtx[3][4], u32 id)
void GXLoadPosMtxIndx (u16 mtx_indx, u32 id)
void GXLoadNrmMtxImm (f32 mtx[3][4], u32 id)
void GXLoadNrmMtxImm3x3 (f32 mtx[3][3], u32 id)
void GXLoadNrmMtxIndx3x3 (u16 mtx_indx, u32 id)
void GXSetCurrentMtx (u32 id)
void GXLoadTexMtxImm (f32 mtx[][4], u32 id, GXTexMtxType type)
void GXLoadTexMtxIndx (u16 mtx_indx, u32 id, GXTexMtxType type)
void GXSetViewportJitter (f32 left, f32 top, f32 wd, f32 ht, f32 nearz, f32 farz, u32 field)
void GXSetViewport (f32 left, f32 top, f32 wd, f32 ht, f32 nearz, f32 farz)
void GXSetScissorBoxOffset (s32 x_off, s32 y_off)
void GXSetClipMode (GXClipMode mode)

Macro Definition Documentation

◆ GX_PROJECTION_SZ

#define GX_PROJECTION_SZ   7

◆ GX_VIEWPORT_SZ

#define GX_VIEWPORT_SZ   6

Function Documentation

◆ GXProject()

void GXProject ( f32 x,
f32 y,
f32 z,
f32 mtx[3][4],
f32 * pm,
f32 * vp,
f32 * sx,
f32 * sy,
f32 * sz )

◆ GXSetProjection()

void GXSetProjection ( f32 mtx[4][4],
GXProjectionType type )

◆ GXSetProjectionv()

void GXSetProjectionv ( f32 * ptr)

◆ GXLoadPosMtxImm()

void GXLoadPosMtxImm ( f32 mtx[3][4],
u32 id )

◆ GXLoadPosMtxIndx()

void GXLoadPosMtxIndx ( u16 mtx_indx,
u32 id )

◆ GXLoadNrmMtxImm()

void GXLoadNrmMtxImm ( f32 mtx[3][4],
u32 id )

◆ GXLoadNrmMtxImm3x3()

void GXLoadNrmMtxImm3x3 ( f32 mtx[3][3],
u32 id )

◆ GXLoadNrmMtxIndx3x3()

void GXLoadNrmMtxIndx3x3 ( u16 mtx_indx,
u32 id )

◆ GXSetCurrentMtx()

void GXSetCurrentMtx ( u32 id)

◆ GXLoadTexMtxImm()

void GXLoadTexMtxImm ( f32 mtx[][4],
u32 id,
GXTexMtxType type )

◆ GXLoadTexMtxIndx()

void GXLoadTexMtxIndx ( u16 mtx_indx,
u32 id,
GXTexMtxType type )

◆ GXSetViewportJitter()

void GXSetViewportJitter ( f32 left,
f32 top,
f32 wd,
f32 ht,
f32 nearz,
f32 farz,
u32 field )

◆ GXSetViewport()

void GXSetViewport ( f32 left,
f32 top,
f32 wd,
f32 ht,
f32 nearz,
f32 farz )

◆ GXSetScissorBoxOffset()

void GXSetScissorBoxOffset ( s32 x_off,
s32 y_off )

◆ GXSetClipMode()

void GXSetClipMode ( GXClipMode mode)