SSBM Decomp
Loading...
Searching...
No Matches
GXTransform.h
Go to the documentation of this file.
1
#ifndef DOLPHIN_GX_GXTRANSFORM_H
2
#define DOLPHIN_GX_GXTRANSFORM_H
3
4
#include <
platform.h
>
5
#include <
placeholder.h
>
6
7
#include <
dolphin/mtx/types.h
>
8
9
void
GXProject
(
f32
x,
// model coordinates
10
f32
y,
f32
z,
11
Mtx
mtx
,
// model-view matrix
12
f32
* pm,
// projection matrix, as returned by GXGetProjectionv
13
f32
* vp,
// viewport, as returned by GXGetViewportv
14
f32
* sx,
// screen coordinates
15
f32
* sy,
f32
* sz);
16
void
GXSetViewportJitter
(
f32
left,
f32
top,
f32
wd,
f32
ht,
f32
nearz,
17
f32
farz,
u32
field);
18
void
GXSetViewport
(
f32
,
f32
,
f32
,
f32
,
f32
,
f32
);
19
void
GXLoadTexMtxImm
(
void
* arg0,
u32
arg1,
s32
arg2);
20
void
GXSetCurrentMtx
(
s32
arg0);
21
void
GXLoadNrmMtxImm
(
UNK_T
,
s32
);
22
void
GXLoadPosMtxImm
(
UNK_T
,
s32
);
23
void
GXSetScissor
(
s32
left,
s32
top,
s32
width,
s32
height);
24
void
GXSetScissorBoxOffset
(
u32
x_off,
u32
y_off);
25
void
GXGetProjectionv
(
f32
* proj);
26
void
GXGetViewportv
(
f32
* viewport_v);
27
void
GXSetProjection
(
Mtx44
proj,
s32
projection_type);
28
void
WriteMTXPS4x3
(
float
* src,
float
* dst);
29
void
WriteMTXPS3x3from3x4
(
float
* src,
float
* dst);
30
void
WriteMTXPS4x2
(
float
* src,
float
* dst);
31
void
__GXSetMatrixIndex
(
s32
);
32
void
GXSetClipMode
(
s32
);
33
34
#endif
GXLoadPosMtxImm
void GXLoadPosMtxImm(UNK_T, s32)
GXLoadTexMtxImm
void GXLoadTexMtxImm(void *arg0, u32 arg1, s32 arg2)
Definition
GXTransform.c:141
GXSetViewportJitter
void GXSetViewportJitter(f32 left, f32 top, f32 wd, f32 ht, f32 nearz, f32 farz, u32 field)
Definition
GXTransform.c:166
GXProject
void GXProject(f32 x, f32 y, f32 z, Mtx mtx, f32 *pm, f32 *vp, f32 *sx, f32 *sy, f32 *sz)
GXLoadNrmMtxImm
void GXLoadNrmMtxImm(UNK_T, s32)
WriteMTXPS4x2
void WriteMTXPS4x2(float *src, float *dst)
GXSetClipMode
void GXSetClipMode(s32)
Definition
GXTransform.c:253
GXSetScissor
void GXSetScissor(s32 left, s32 top, s32 width, s32 height)
Definition
GXTransform.c:227
WriteMTXPS3x3from3x4
void WriteMTXPS3x3from3x4(float *src, float *dst)
GXSetProjection
void GXSetProjection(Mtx44 proj, s32 projection_type)
Definition
GXTransform.c:17
GXSetScissorBoxOffset
void GXSetScissorBoxOffset(u32 x_off, u32 y_off)
Definition
GXTransform.c:242
WriteMTXPS4x3
void WriteMTXPS4x3(float *src, float *dst)
GXSetCurrentMtx
void GXSetCurrentMtx(s32 arg0)
Definition
GXTransform.c:135
GXSetViewport
void GXSetViewport(f32, f32, f32, f32, f32, f32)
Definition
GXTransform.c:212
__GXSetMatrixIndex
void __GXSetMatrixIndex(s32)
Definition
GXTransform.c:261
GXGetProjectionv
void GXGetProjectionv(f32 *proj)
Definition
GXTransform.c:43
GXGetViewportv
void GXGetViewportv(f32 *viewport_v)
Definition
GXTransform.c:217
Mtx44
f32 Mtx44[4][4]
Definition
forward.h:9
Mtx
f32 Mtx[3][4]
Definition
forward.h:6
types.h
mtx
Mtx mtx
Definition
ftparts.c:61
placeholder.h
UNK_T
#define UNK_T
platform.h
u32
unsigned long u32
An unsigned 32-bit integer.
Definition
platform.h:26
f32
float f32
A 32-bit floating-point number.
Definition
platform.h:62
s32
signed long s32
A signed 32-bit integer.
Definition
platform.h:14
src
dolphin
gx
GXTransform.h
Generated by
1.9.8