summaryrefslogtreecommitdiff
path: root/src/engine/Matrix.cpp
diff options
context:
space:
mode:
authorMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-28 14:18:38 -0600
committerMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-28 14:18:38 -0600
commit5bf771b58331870a1cc00323a353ec452b4c9ced (patch)
treea697c9390648960ee88ce7b696c91b0ab333bf36 /src/engine/Matrix.cpp
parentc55781264336269a7086e4be33df2659d70ce061 (diff)
wip interp changeswipinterpchanges
Diffstat (limited to 'src/engine/Matrix.cpp')
-rw-r--r--src/engine/Matrix.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/engine/Matrix.cpp b/src/engine/Matrix.cpp
index 15cc00f17..c84eaefab 100644
--- a/src/engine/Matrix.cpp
+++ b/src/engine/Matrix.cpp
@@ -35,7 +35,7 @@ void AddMatrixFixed(std::vector<Mtx>& stack, s32 flags) {
}
// Used in func_80095BD0
-Mtx* SetTextMatrix(Mat4 matrix, f32 x, f32 y, f32 arg3, f32 arg4) {
+void SetTextMatrix(Mat4 matrix, f32 x, f32 y, f32 arg3, f32 arg4) {
FrameInterpolation_Record_SetTextMatrix((Mat4*)&matrix, x, y, arg3, arg4);
matrix[0][0] = arg3;
matrix[0][1] = 0.0f;
@@ -53,11 +53,6 @@ Mtx* SetTextMatrix(Mat4 matrix, f32 x, f32 y, f32 arg3, f32 arg4) {
matrix[3][1] = y;
matrix[3][2] = 0.0f;
matrix[3][3] = 1.0f;
- Mtx* mtx = GetMatrix(gWorldInstance.Mtx.Effects);
- FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*)matrix, mtx);
- guMtxF2L(matrix, mtx);
-
- return mtx;
}
void ApplyMatrixTransformations(Mat4 mtx, FVector pos, IRotator rot, FVector scale) {