Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
J3DTransform.cpp File Reference

Functions

void __MTGQR7 (register u32 v)
 
void J3DGQRSetup7 (u32 r0, u32 r1, u32 r2, u32 r3)
 
static f32 sqrtf2 (f32 x)
 
void J3DCalcBBoardMtx (Mtx mtx)
 
void J3DCalcYBBoardMtx (f32(*param_0)[4])
 
void J3DPSCalcInverseTranspose (f32(*param_0)[4], f32(*param_1)[3])
 
void J3DGetTranslateRotateMtx (const J3DTransformInfo &tx, Mtx dst)
 
void J3DGetTranslateRotateMtx (s16 rx, s16 ry, s16 rz, f32 tx, f32 ty, f32 tz, Mtx dst)
 
void J3DGetTextureMtx (const J3DTextureSRTInfo &srt, const Vec &center, Mtx dst)
 
void J3DGetTextureMtxOld (const J3DTextureSRTInfo &srt, const Vec &center, Mtx dst)
 
void J3DGetTextureMtxMaya (const J3DTextureSRTInfo &srt, Mtx dst)
 
void J3DGetTextureMtxMayaOld (const J3DTextureSRTInfo &srt, Mtx dst)
 
void J3DScaleNrmMtx (register Mtx mtx, const register Vec &scl)
 
void J3DScaleNrmMtx (f32(*param_0)[4], Vec const &param_1)
 
void J3DScaleNrmMtx33 (f32(*param_0)[3], Vec const &param_1)
 
void J3DMtxProjConcat (f32(*param_0)[4], f32(*param_1)[4], f32(*param_2)[4])
 
void J3DPSMtxArrayConcat (f32(*param_0)[4], f32(*param_1)[4], f32(*param_2)[4], u32 param_3)
 

Variables

J3DTransformInfo const j3dDefaultTransformInfo
 
Vec const j3dDefaultScale = {1.0f, 1.0f, 1.0f}
 
Mtx const j3dDefaultMtx
 
static f32 Unit01 [2]
 
f32 PSMulUnit01 [2]
 

Function Documentation

◆ __MTGQR7()

void __MTGQR7 ( register u32  v)

◆ J3DCalcBBoardMtx()

void J3DCalcBBoardMtx ( Mtx  mtx)

◆ J3DCalcYBBoardMtx()

void J3DCalcYBBoardMtx ( f32(*)  param_0[4])

◆ J3DGetTextureMtx()

void J3DGetTextureMtx ( const J3DTextureSRTInfo srt,
const Vec center,
Mtx  dst 
)

◆ J3DGetTextureMtxMaya()

void J3DGetTextureMtxMaya ( const J3DTextureSRTInfo srt,
Mtx  dst 
)

◆ J3DGetTextureMtxMayaOld()

void J3DGetTextureMtxMayaOld ( const J3DTextureSRTInfo srt,
Mtx  dst 
)

◆ J3DGetTextureMtxOld()

void J3DGetTextureMtxOld ( const J3DTextureSRTInfo srt,
const Vec center,
Mtx  dst 
)

◆ J3DGetTranslateRotateMtx() [1/2]

void J3DGetTranslateRotateMtx ( const J3DTransformInfo tx,
Mtx  dst 
)

◆ J3DGetTranslateRotateMtx() [2/2]

void J3DGetTranslateRotateMtx ( s16  rx,
s16  ry,
s16  rz,
f32  tx,
f32  ty,
f32  tz,
Mtx  dst 
)

◆ J3DGQRSetup7()

void J3DGQRSetup7 ( u32  r0,
u32  r1,
u32  r2,
u32  r3 
)

◆ J3DMtxProjConcat()

void J3DMtxProjConcat ( f32(*)  param_0[4],
f32(*)  param_1[4],
f32(*)  param_2[4] 
)

◆ J3DPSCalcInverseTranspose()

void J3DPSCalcInverseTranspose ( f32(*)  param_0[4],
f32(*)  param_1[3] 
)

◆ J3DPSMtxArrayConcat()

void J3DPSMtxArrayConcat ( f32(*)  param_0[4],
f32(*)  param_1[4],
f32(*)  param_2[4],
u32  param_3 
)

◆ J3DScaleNrmMtx() [1/2]

void J3DScaleNrmMtx ( f32(*)  param_0[4],
Vec const param_1 
)

◆ J3DScaleNrmMtx() [2/2]

void J3DScaleNrmMtx ( register Mtx  mtx,
const register Vec scl 
)

◆ J3DScaleNrmMtx33()

void J3DScaleNrmMtx33 ( f32(*)  param_0[3],
Vec const param_1 
)

◆ sqrtf2()

static f32 sqrtf2 ( f32  x)
inlinestatic

Variable Documentation

◆ j3dDefaultMtx

Mtx const j3dDefaultMtx
extern
Initial value:
= {
{1.0f, 0.0f, 0.0f, 0.0f}, {0.0f, 1.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 1.0f, 0.0f}}

◆ j3dDefaultScale

Vec const j3dDefaultScale = {1.0f, 1.0f, 1.0f}
extern

◆ j3dDefaultTransformInfo

J3DTransformInfo const j3dDefaultTransformInfo
extern
Initial value:
= {
{1.0f, 1.0f, 1.0f}, {0, 0, 0}, {0.0f, 0.0f, 0.0f}}

◆ PSMulUnit01

f32 PSMulUnit01[2]
extern
Initial value:
= {
0.0f,
-1.0f,
}

◆ Unit01

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