Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
GXTransform.h
Go to the documentation of this file.
1#ifndef GXTRANSFORM_H
2#define GXTRANSFORM_H
3
4#include "dolphin/gx/GXEnum.h"
5#include "dolphin/mtx.h"
6
7#ifdef __cplusplus
8extern "C" {
9#endif
10
16void GXLoadPosMtxImm(Mtx mtx, u32 id);
17void GXLoadNrmMtxImm(Mtx mtx, u32 id);
18void GXSetCurrentMtx(u32 id);
19void GXLoadTexMtxImm(const Mtx mtx, u32 id, GXTexMtxType type);
20void GXSetViewport(f32 x_orig, f32 y_orig, f32 width, f32 height, f32 near_z, f32 far_z);
21void GXGetViewportv(f32* p);
22void GXSetScissor(u32 left, u32 top, u32 width, u32 height);
23void GXGetScissor(u32* left, u32* top, u32* width, u32* height);
25void GXSetClipMode(GXClipMode mode);
26
27#ifdef __cplusplus
28};
29#endif
30
31#endif /* GXTRANSFORM_H */
enum _GXProjectionType GXProjectionType
enum _GXClipMode GXClipMode
enum _GXTexMtxType GXTexMtxType
void GXLoadPosMtxImm(Mtx mtx, u32 id)
Definition GXTransform.c:139
void GXGetScissor(u32 *left, u32 *top, u32 *width, u32 *height)
Definition GXTransform.c:285
void GXSetProjectionv(f32 *p)
Definition GXTransform.c:102
void GXGetViewportv(f32 *p)
Definition GXTransform.c:258
void GXSetScissor(u32 left, u32 top, u32 width, u32 height)
Definition GXTransform.c:263
void GXSetClipMode(GXClipMode mode)
Definition GXTransform.c:315
void GXLoadTexMtxImm(const Mtx mtx, u32 id, GXTexMtxType type)
Definition GXTransform.c:197
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)
Definition GXTransform.c:38
void GXSetViewport(f32 x_orig, f32 y_orig, f32 width, f32 height, f32 near_z, f32 far_z)
Definition GXTransform.c:246
void GXGetProjectionv(f32 *p)
Definition GXTransform.c:111
void GXSetProjection(const Mtx44 proj, GXProjectionType type)
Definition GXTransform.c:79
void GXLoadNrmMtxImm(Mtx mtx, u32 id)
Definition GXTransform.c:167
void GXSetScissorBoxOffset(s32 x_offset, s32 y_offset)
Definition GXTransform.c:298
void GXSetCurrentMtx(u32 id)
Definition GXTransform.c:173
static Mtx mtx[10]
Definition c_lib.cpp:510
T cLib_calcTimer(T *value)
Definition c_lib.h:79
p
Definition e_acos.c:98
f32 Mtx44[4][4]
Definition mtx44.h:6
f32 Mtx[3][4]
Definition mtx.h:15
unsigned long u32
Definition types.h:10
float f32
Definition types.h:22
signed long s32
Definition types.h:6