SSBM Decomp
Toggle main menu visibility
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 <
dolphin/gx/GXEnum.h
>
5
6
#ifdef __cplusplus
7
extern
"C"
{
8
#endif
9
10
#define GX_PROJECTION_SZ 7
11
#define GX_VIEWPORT_SZ 6
12
13
void
GXProject
(
f32
x,
f32
y,
f32
z,
f32
mtx
[3][4],
f32
*pm,
f32
*vp,
f32
*sx,
f32
*sy,
f32
*sz);
14
void
GXSetProjection
(
f32
mtx
[4][4],
GXProjectionType
type);
15
void
GXSetProjectionv
(
f32
*ptr);
16
void
GXLoadPosMtxImm
(
f32
mtx
[3][4],
u32
id
);
17
void
GXLoadPosMtxIndx
(
u16
mtx_indx,
u32
id
);
18
void
GXLoadNrmMtxImm
(
f32
mtx
[3][4],
u32
id
);
19
void
GXLoadNrmMtxImm3x3
(
f32
mtx
[3][3],
u32
id
);
20
void
GXLoadNrmMtxIndx3x3
(
u16
mtx_indx,
u32
id
);
21
void
GXSetCurrentMtx
(
u32
id
);
22
void
GXLoadTexMtxImm
(
f32
mtx
[][4],
u32
id
,
GXTexMtxType
type);
23
void
GXLoadTexMtxIndx
(
u16
mtx_indx,
u32
id
,
GXTexMtxType
type);
24
void
GXSetViewportJitter
(
f32
left,
f32
top,
f32
wd,
f32
ht,
f32
nearz,
f32
farz,
u32
field);
25
void
GXSetViewport
(
f32
left,
f32
top,
f32
wd,
f32
ht,
f32
nearz,
f32
farz);
26
void
GXSetScissorBoxOffset
(
s32
x_off,
s32
y_off);
27
void
GXSetClipMode
(
GXClipMode
mode);
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif
GXEnum.h
GXProjectionType
GXProjectionType
Definition
GXEnum.h:15
GXClipMode
GXClipMode
Definition
GXEnum.h:879
GXTexMtxType
GXTexMtxType
Definition
GXEnum.h:259
GXLoadPosMtxImm
void GXLoadPosMtxImm(f32 mtx[3][4], u32 id)
GXLoadPosMtxIndx
void GXLoadPosMtxIndx(u16 mtx_indx, u32 id)
GXLoadTexMtxImm
void GXLoadTexMtxImm(f32 mtx[][4], u32 id, GXTexMtxType type)
GXSetViewportJitter
void GXSetViewportJitter(f32 left, f32 top, f32 wd, f32 ht, f32 nearz, f32 farz, u32 field)
GXSetScissorBoxOffset
void GXSetScissorBoxOffset(s32 x_off, s32 y_off)
GXSetClipMode
void GXSetClipMode(GXClipMode mode)
GXSetProjectionv
void GXSetProjectionv(f32 *ptr)
GXLoadNrmMtxIndx3x3
void GXLoadNrmMtxIndx3x3(u16 mtx_indx, u32 id)
GXProject
void GXProject(f32 x, f32 y, f32 z, f32 mtx[3][4], f32 *pm, f32 *vp, f32 *sx, f32 *sy, f32 *sz)
GXLoadNrmMtxImm3x3
void GXLoadNrmMtxImm3x3(f32 mtx[3][3], u32 id)
GXLoadTexMtxIndx
void GXLoadTexMtxIndx(u16 mtx_indx, u32 id, GXTexMtxType type)
GXSetViewport
void GXSetViewport(f32 left, f32 top, f32 wd, f32 ht, f32 nearz, f32 farz)
GXSetProjection
void GXSetProjection(f32 mtx[4][4], GXProjectionType type)
GXSetCurrentMtx
void GXSetCurrentMtx(u32 id)
GXLoadNrmMtxImm
void GXLoadNrmMtxImm(f32 mtx[3][4], u32 id)
u32
unsigned long u32
Definition
types.h:9
f32
float f32
Definition
types.h:13
u16
unsigned short int u16
Definition
types.h:7
s32
signed long s32
Definition
types.h:8
mtx
Mtx mtx
Definition
ftparts.static.h:8
extern
dolphin
include
dolphin
gx
GXTransform.h
Generated by
1.17.0