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

Functions

void GXProject (f32 x, f32 y, f32 z, MtxPtr mtx, f32 *pm, f32 *vp, f32 *sx, f32 *sy, f32 *sz)
 
void GXSetProjection (Mtx44 proj, s32 projection_type)
 
void GXGetProjectionv (f32 *proj)
 
void WriteMTXPS4x3 (register float *src, register float *dst)
 
void WriteMTXPS3x3from3x4 (register float *src, register float *dst)
 
void WriteMTXPS4x2 (register float *src, register float *dst)
 
void GXLoadPosMtxImm (void *mtx, s32 arg1)
 
void GXLoadNrmMtxImm (void *mtx, s32 arg1)
 
void GXSetCurrentMtx (s32 arg0)
 
void GXLoadTexMtxImm (void *arg0, u32 arg1, s32 arg2)
 
void GXSetViewportJitter (f32 left, f32 top, f32 width, f32 height, f32 nearz, f32 farz, u32 field)
 
void GXSetViewport (f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5)
 
void GXGetViewportv (f32 *viewport_v)
 
void GXSetScissor (s32 left, s32 top, s32 width, s32 height)
 
void GXSetScissorBoxOffset (u32 x_off, u32 y_off)
 
void GXSetClipMode (s32 mode)
 
void __GXSetMatrixIndex (s32 arg0)
 

Function Documentation

◆ GXProject()

void GXProject ( f32  x,
f32  y,
f32  z,
MtxPtr  mtx,
f32 pm,
f32 vp,
f32 sx,
f32 sy,
f32 sz 
)

◆ GXSetProjection()

void GXSetProjection ( Mtx44  proj,
s32  projection_type 
)

◆ GXGetProjectionv()

void GXGetProjectionv ( f32 proj)

◆ WriteMTXPS4x3()

void WriteMTXPS4x3 ( register float *  src,
register float *  dst 
)

◆ WriteMTXPS3x3from3x4()

void WriteMTXPS3x3from3x4 ( register float *  src,
register float *  dst 
)

◆ WriteMTXPS4x2()

void WriteMTXPS4x2 ( register float *  src,
register float *  dst 
)

◆ GXLoadPosMtxImm()

void GXLoadPosMtxImm ( void *  mtx,
s32  arg1 
)
Attention
peephole off is needed for following functions to match The previous matrix functions were probably inline asm in the original source, which triggered the peephole off MWCC bug.

◆ GXLoadNrmMtxImm()

void GXLoadNrmMtxImm ( void *  mtx,
s32  arg1 
)

◆ GXSetCurrentMtx()

void GXSetCurrentMtx ( s32  arg0)

◆ GXLoadTexMtxImm()

void GXLoadTexMtxImm ( void *  arg0,
u32  arg1,
s32  arg2 
)

◆ GXSetViewportJitter()

void GXSetViewportJitter ( f32  left,
f32  top,
f32  width,
f32  height,
f32  nearz,
f32  farz,
u32  field 
)

◆ GXSetViewport()

void GXSetViewport ( f32  arg0,
f32  arg1,
f32  arg2,
f32  arg3,
f32  arg4,
f32  arg5 
)

◆ GXGetViewportv()

void GXGetViewportv ( f32 viewport_v)

◆ GXSetScissor()

void GXSetScissor ( s32  left,
s32  top,
s32  width,
s32  height 
)

◆ GXSetScissorBoxOffset()

void GXSetScissorBoxOffset ( u32  x_off,
u32  y_off 
)

◆ GXSetClipMode()

void GXSetClipMode ( s32  mode)

◆ __GXSetMatrixIndex()

void __GXSetMatrixIndex ( s32  arg0)