![]() |
Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
|
Functions | |
static void | GetVertState (void) |
static void | RestoreVertState (void) |
static void | vsub (f32 p1[3], f32 p2[3], f32 u[3]) |
static void | vcross (f32 u[3], f32 v[3], f32 n[3]) |
static void | normalize (f32 v[3]) |
static void | myvertex (f32 v[3], f32 n[3]) |
static void | DumpTriangle (f32 v0[3], f32 v1[3], f32 v2[3]) |
static void | Subdivide (u8 depth, f32 v0[3], f32 v1[3], f32 v2[3]) |
static void | SubDivTriangle (u8 depth, u8 i, f32(*data)[3], u8(*ndx)[3]) |
void | GXDrawCylinder (u8 numEdges) |
void | GXDrawTorus (f32 rc, u8 numc, u8 numt) |
void | GXDrawSphere (u8 numMajor, u8 numMinor) |
static void | GXDrawCubeFace (f32 nx, f32 ny, f32 nz, f32 tx, f32 ty, f32 tz, f32 bx, f32 by, f32 bz, GXAttrType binormal, GXAttrType texture) |
void | GXDrawCube (void) |
void | GXDrawDodeca (void) |
void | GXDrawOctahedron (void) |
void | GXDrawIcosahedron (void) |
void | GXDrawSphere1 (u8 depth) |
static u32 | CmpNormal32 (f32 n1[3], f32 n2[3]) |
static void | AddNormal (f32 n[3]) |
static void | SubdivideNrm (u8 depth, f32 v0[3], f32 v1[3], f32 v2[3]) |
static void | SubDivNrm (u8 depth, u8 i, f32(*data)[3], u8(*ndx)[3]) |
u32 | GXGenNormalTable (u8 depth, f32 *table) |
Variables | |
static GXVtxDescList | vcd [27] |
static GXVtxAttrFmtList | vat [27] |
static u32 | polygons [12][5] |
static f32 | verts [20][3] |
static f32 | odata [6][3] |
static u8 | ondex [8][3] |
static f32 | idata [12][3] |
static u8 | index [20][3] |
static u32 | nrm_cnt |
static f32 * | nrm_tab |
|
static |
|
static |
void GXDrawCube | ( | void | ) |
|
static |
void GXDrawCylinder | ( | u8 | numEdges | ) |
void GXDrawDodeca | ( | void | ) |
void GXDrawIcosahedron | ( | void | ) |
void GXDrawOctahedron | ( | void | ) |
void GXDrawSphere1 | ( | u8 | depth | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |