mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-09 14:56:07 -04:00
Merge branch 'transformfuncsforint' of https://github.com/HarbourMasters/SpaghettiKart into transformfuncsforint
This commit is contained in:
@@ -136,6 +136,14 @@ extern "C" {
|
||||
AddMatrix(gWorldInstance.Mtx.Hud, mtx, flags);
|
||||
}
|
||||
|
||||
void AddPerspMatrix(Mat4 mtx, s32 flags) {
|
||||
AddMatrix(gWorldInstance.Mtx.Persp, mtx, flags);
|
||||
}
|
||||
|
||||
void AddLookAtMatrix(Mat4 mtx, s32 flags) {
|
||||
AddMatrix(gWorldInstance.Mtx.LookAt, mtx, flags);
|
||||
}
|
||||
|
||||
void AddObjectMatrix(Mat4 mtx, s32 flags) {
|
||||
AddMatrix(gWorldInstance.Mtx.Objects, mtx, flags);
|
||||
}
|
||||
|
||||
@@ -46,6 +46,8 @@ class World {
|
||||
std::vector<Mtx> Shadows;
|
||||
std::vector<Mtx> Karts;
|
||||
std::vector<Mtx> Effects;
|
||||
std::vector<Mtx> Persp;
|
||||
std::vector<Mtx> LookAt;
|
||||
} Matrix;
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user