Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
GXTransform.c File Reference

Functions

void __GXSetMatrixIndex ()
 
static void Copy6Floats (register f32 src[6], register f32 dst[6])
 
static void WriteProjPS (const register f32 src[6], register volatile void *dst)
 
void GXProject (f32 model_x, f32 model_y, f32 model_z, Mtx model_mtx, f32 *proj_mtx, f32 *viewpoint, f32 *screen_x, f32 *screen_y, f32 *screen_z)
 
void __GXSetProjection (void)
 
void GXSetProjection (const Mtx44 proj, GXProjectionType type)
 
void GXSetProjectionv (f32 *proj)
 
void GXGetProjectionv (f32 *proj)
 
static void WriteMTXPS4x3 (register volatile void *dst, register const Mtx src)
 
void GXLoadPosMtxImm (Mtx mtx, u32 id)
 
static void WriteMTXPS3x3 (register volatile void *dst, register const Mtx src)
 
void GXLoadNrmMtxImm (Mtx mtx, u32 id)
 
void GXSetCurrentMtx (u32 id)
 
static void WriteMTXPS4x2 (register volatile void *dst, register const Mtx src)
 
void GXLoadTexMtxImm (const Mtx mtx, u32 id, GXTexMtxType type)
 
void __GXSetViewport (void)
 
void GXSetViewport (f32 left, f32 top, f32 width, f32 height, f32 nearZ, f32 farZ)
 
void GXGetViewportv (f32 *p)
 
void GXSetScissor (u32 left, u32 top, u32 width, u32 height)
 
void GXGetScissor (u32 *left, u32 *top, u32 *width, u32 *height)
 
void GXSetScissorBoxOffset (s32 x, s32 y)
 
void GXSetClipMode (GXClipMode mode)
 
void __GXSetMatrixIndex (GXAttr index)
 

Function Documentation

◆ __GXSetMatrixIndex() [1/2]

void __GXSetMatrixIndex ( )

◆ __GXSetMatrixIndex() [2/2]

void __GXSetMatrixIndex ( GXAttr  index)

◆ __GXSetProjection()

void __GXSetProjection ( void  )

◆ __GXSetViewport()

void __GXSetViewport ( void  )

◆ Copy6Floats()

static void Copy6Floats ( register f32  src[6],
register f32  dst[6] 
)
static

◆ GXGetProjectionv()

void GXGetProjectionv ( f32 proj)

◆ GXGetScissor()

void GXGetScissor ( u32 left,
u32 top,
u32 width,
u32 height 
)

◆ GXGetViewportv()

void GXGetViewportv ( f32 p)

◆ GXLoadNrmMtxImm()

void GXLoadNrmMtxImm ( Mtx  mtx,
u32  id 
)

◆ GXLoadPosMtxImm()

void GXLoadPosMtxImm ( Mtx  mtx,
u32  id 
)

◆ GXLoadTexMtxImm()

void GXLoadTexMtxImm ( const Mtx  mtx,
u32  id,
GXTexMtxType  type 
)

◆ GXProject()

void GXProject ( f32  model_x,
f32  model_y,
f32  model_z,
Mtx  model_mtx,
f32 proj_mtx,
f32 viewpoint,
f32 screen_x,
f32 screen_y,
f32 screen_z 
)

◆ GXSetClipMode()

void GXSetClipMode ( GXClipMode  mode)

◆ GXSetCurrentMtx()

void GXSetCurrentMtx ( u32  id)

◆ GXSetProjection()

void GXSetProjection ( const Mtx44  proj,
GXProjectionType  type 
)

◆ GXSetProjectionv()

void GXSetProjectionv ( f32 proj)

◆ GXSetScissor()

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

◆ GXSetScissorBoxOffset()

void GXSetScissorBoxOffset ( s32  x,
s32  y 
)

◆ GXSetViewport()

void GXSetViewport ( f32  left,
f32  top,
f32  width,
f32  height,
f32  nearZ,
f32  farZ 
)

◆ WriteMTXPS3x3()

static void WriteMTXPS3x3 ( register volatile void dst,
register const Mtx  src 
)
static

◆ WriteMTXPS4x2()

static void WriteMTXPS4x2 ( register volatile void dst,
register const Mtx  src 
)
static

◆ WriteMTXPS4x3()

static void WriteMTXPS4x3 ( register volatile void dst,
register const Mtx  src 
)
static

◆ WriteProjPS()

static void WriteProjPS ( const register f32  src[6],
register volatile void dst 
)
static