mirror of
https://github.com/zeldaret/ss
synced 2026-06-29 11:10:50 -04:00
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
#ifndef RVL_SDK_GX_TRANSFORM_H
|
|
#define RVL_SDK_GX_TRANSFORM_H
|
|
#include <lib/rvl/GX/GXTypes.h>
|
|
#include <lib/rvl/MTX.h>
|
|
#include <lib/rvl/types.h>
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void GXSetProjection(const Mtx44 proj, GXProjMtxType type);
|
|
void GXSetProjectionv(const f32 proj[7]);
|
|
void GXGetProjectionv(f32 proj[7]);
|
|
void GXLoadPosMtxImm(const Mtx mtx, u32 id);
|
|
void GXLoadPosMtxIndx(u16 index, u32 id);
|
|
void GXLoadNrmMtxImm(const Mtx mtx, u32 id);
|
|
void GXLoadNrmMtxIndx3x3(u16 index, u32 id);
|
|
void GXSetCurrentMtx(u32 id);
|
|
void GXLoadTexMtxImm(const Mtx mtx, u32 id, GXMtxType type);
|
|
void GXSetViewportJitter(f32 ox, f32 oy, f32 sx, f32 sy, f32 near, f32 far,
|
|
u32 nextField);
|
|
void GXSetViewport(f32 ox, f32 oy, f32 sx, f32 sy, f32 near, f32 far);
|
|
void GXGetViewportv(f32 view[6]);
|
|
void GXSetZScaleOffset(f32 scale, f32 offset);
|
|
void GXSetScissor(u32 x, u32 y, u32 w, u32 h);
|
|
void GXGetScissor(u32* x, u32* y, u32* w, u32* h);
|
|
void GXSetScissorBoxOffset(u32 ox, u32 oy);
|
|
void GXSetClipMode(GXClipMode mode);
|
|
|
|
void __GXSetProjection(void);
|
|
void __GXSetViewport(void);
|
|
void __GXSetMatrixIndex(GXAttr index);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|