summaryrefslogtreecommitdiff
path: root/src/engine/Matrix.cpp
diff options
context:
space:
mode:
authorSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-17 21:34:56 -0300
committerSonic Dreamcaster <alejandro.asenjo88@gmail.com>2025-05-17 21:34:56 -0300
commit819c8fc4fc0081c76ead7b33b47109f654dbd5c9 (patch)
tree1eb31fcb1fda7d5a029ee420a791051270d1f81c /src/engine/Matrix.cpp
parent08ec787e79199d255f1886c7f2a69d66041015f1 (diff)
matrix
Diffstat (limited to 'src/engine/Matrix.cpp')
-rw-r--r--src/engine/Matrix.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/Matrix.cpp b/src/engine/Matrix.cpp
index e46804ad5..e01df8954 100644
--- a/src/engine/Matrix.cpp
+++ b/src/engine/Matrix.cpp
@@ -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);
}