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

Functions

void C_MTXIdentity (Mtx mtx)
 
void PSMTXIdentity (register Mtx m)
 
asm void PSMTXCopy (const register Mtx src, register Mtx dst)
 
asm void PSMTXConcat (const register Mtx mA, const register Mtx mB, register Mtx mAB)
 
asm u32 PSMTXInverse (const register Mtx src, register Mtx inv)
 
void PSMTXRotRad (Mtx m, char axis, f32 rad)
 
void PSMTXRotTrig (register Mtx m, register char axis, register f32 sinA, register f32 cosA)
 
static void __PSMTXRotAxisRadInternal (register Mtx m, const register Vec *axis, register f32 sT, register f32 cT)
 
void PSMTXRotAxisRad (Mtx m, const Vec *axis, f32 rad)
 
void PSMTXTrans (register Mtx m, register f32 xT, register f32 yT, register f32 zT)
 
asm void PSMTXTransApply (const register Mtx src, register Mtx dst, register f32 xT, register f32 yT, register f32 zT)
 
void PSMTXScale (register Mtx m, register f32 xS, register f32 yS, register f32 zS)
 
asm void PSMTXScaleApply (const register Mtx src, register Mtx dst, register f32 xS, register f32 yS, register f32 zS)
 
void PSMTXQuat (register Mtx m, const register PSQuaternion *q)
 
void C_MTXLookAt (Mtx m, const Vec *camPos, const Vec *camUp, const Vec *target)
 
void C_MTXLightFrustum (Mtx m, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5, f32 arg6, f32 arg7, f32 arg8, f32 arg9)
 
void C_MTXLightPerspective (Mtx m, f32 fovY, f32 aspect, f32 scaleS, f32 scaleT, f32 transS, f32 transT)
 
void C_MTXLightOrtho (Mtx m, f32 t, f32 b, f32 l, f32 r, f32 scaleS, f32 scaleT, f32 transS, f32 transT)
 

Variables

static f32 Unit01 [2] = {0.0f, 1.0f}
 

Function Documentation

◆ __PSMTXRotAxisRadInternal()

static void __PSMTXRotAxisRadInternal ( register Mtx  m,
const register Vec axis,
register f32  sT,
register f32  cT 
)
static

◆ C_MTXIdentity()

void C_MTXIdentity ( Mtx  mtx)

◆ C_MTXLightFrustum()

void C_MTXLightFrustum ( Mtx  m,
f32  arg1,
f32  arg2,
f32  arg3,
f32  arg4,
f32  arg5,
f32  arg6,
f32  arg7,
f32  arg8,
f32  arg9 
)

◆ C_MTXLightOrtho()

void C_MTXLightOrtho ( Mtx  m,
f32  t,
f32  b,
f32  l,
f32  r,
f32  scaleS,
f32  scaleT,
f32  transS,
f32  transT 
)

◆ C_MTXLightPerspective()

void C_MTXLightPerspective ( Mtx  m,
f32  fovY,
f32  aspect,
f32  scaleS,
f32  scaleT,
f32  transS,
f32  transT 
)

◆ C_MTXLookAt()

void C_MTXLookAt ( Mtx  m,
const Vec camPos,
const Vec camUp,
const Vec target 
)

◆ PSMTXConcat()

asm void PSMTXConcat ( const register Mtx  mA,
const register Mtx  mB,
register Mtx  mAB 
)

◆ PSMTXCopy()

asm void PSMTXCopy ( const register Mtx  src,
register Mtx  dst 
)

◆ PSMTXIdentity()

void PSMTXIdentity ( register Mtx  m)

◆ PSMTXInverse()

asm u32 PSMTXInverse ( const register Mtx  src,
register Mtx  inv 
)

◆ PSMTXQuat()

void PSMTXQuat ( register Mtx  m,
const register PSQuaternion q 
)

◆ PSMTXRotAxisRad()

void PSMTXRotAxisRad ( Mtx  m,
const Vec axis,
f32  rad 
)

◆ PSMTXRotRad()

void PSMTXRotRad ( Mtx  m,
char  axis,
f32  rad 
)

◆ PSMTXRotTrig()

void PSMTXRotTrig ( register Mtx  m,
register char  axis,
register f32  sinA,
register f32  cosA 
)

◆ PSMTXScale()

void PSMTXScale ( register Mtx  m,
register f32  xS,
register f32  yS,
register f32  zS 
)

◆ PSMTXScaleApply()

asm void PSMTXScaleApply ( const register Mtx  src,
register Mtx  dst,
register f32  xS,
register f32  yS,
register f32  zS 
)

◆ PSMTXTrans()

void PSMTXTrans ( register Mtx  m,
register f32  xT,
register f32  yT,
register f32  zT 
)

◆ PSMTXTransApply()

asm void PSMTXTransApply ( const register Mtx  src,
register Mtx  dst,
register f32  xT,
register f32  yT,
register f32  zT 
)

Variable Documentation

◆ Unit01

f32 Unit01[2] = {0.0f, 1.0f}
static