NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
mtx.h
1#ifndef RVL_SDK_MTX_MTX_H
2#define RVL_SDK_MTX_MTX_H
3#include <types.h>
4
5#include <revolution/MTX/mtxtypes.h>
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10// TODO: Create macros for PS/C_ functions
11void PSMTXIdentity(Mtx);
12void PSMTXCopy(const Mtx, Mtx);
13void PSMTXConcat(const Mtx, const Mtx, Mtx);
14void PSMTXConcatArray(const Mtx, const Mtx, Mtx, u32);
15void PSMTXTranspose(const Mtx, Mtx);
16u32 PSMTXInverse(const Mtx, Mtx);
17u32 PSMTXInvXpose(const Mtx, Mtx);
18void PSMTXRotRad(Mtx, char, f32);
19void PSMTXRotTrig(Mtx, f32, f32, char);
20void PSMTXRotAxisRad(Mtx, const Vec*, f32);
21void PSMTXTrans(Mtx, f32, f32, f32);
22void PSMTXTransApply(const Mtx, Mtx, f32, f32, f32);
23void PSMTXScale(Mtx, f32, f32, f32);
24void PSMTXScaleApply(const Mtx, Mtx, f32, f32, f32);
25void PSMTXQuat(Mtx, const Quaternion*);
26
27void C_MTXLookAt(Mtx, const Vec*, const Vec*, const Vec*);
28void C_MTXLightFrustum(Mtx, f32, f32, f32, f32, f32, f32, f32, f32, f32);
29void C_MTXLightPerspective(Mtx, f32, f32, f32, f32, f32, f32);
30void C_MTXLightOrtho(Mtx, f32, f32, f32, f32, f32, f32, f32, f32);
31
32#ifdef __cplusplus
33}
34#endif
35#endif
Definition mtxtypes.h:11