summaryrefslogtreecommitdiff
path: root/src/engine/Matrix.cpp
diff options
context:
space:
mode:
authorMegaMech <inkstudios1@hotmail.com>2025-05-16 17:12:28 -0600
committerMegaMech <inkstudios1@hotmail.com>2025-05-16 17:12:28 -0600
commit09fb8d84210e82030da89cd9a5793fb6402a971f (patch)
tree78fae82890683ca7a43f34f798dae4ab84f2056a /src/engine/Matrix.cpp
parentd155bacadb38b1ed96065da2ad7de4f65f687e96 (diff)
Add Lywx changes
Diffstat (limited to 'src/engine/Matrix.cpp')
-rw-r--r--src/engine/Matrix.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/Matrix.cpp b/src/engine/Matrix.cpp
index 1f2301258..44e5f081d 100644
--- a/src/engine/Matrix.cpp
+++ b/src/engine/Matrix.cpp
@@ -1,6 +1,7 @@
#include <libultraship.h>
#include <libultra/gbi.h>
#include "engine/World.h"
+#include "src/port/interpolation/FrameInterpolation.h"
extern "C" {
#include "common_structs.h"
@@ -16,6 +17,7 @@ void AddMatrix(std::vector<Mtx>& stack, Mat4 mtx, s32 flags) {
stack.emplace_back();
// Convert to a fixed-point matrix
+ FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*)mtx, &stack.back());
guMtxF2L(mtx, &stack.back());
// Load the matrix