summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-23 20:56:36 -0600
committerMegaMech <7255464+MegaMech@users.noreply.github.com>2025-05-23 20:56:36 -0600
commit5418951e1fcf9cd3c5bafce0ccf629b8e75467bf (patch)
treea1e3f2a84e2859189f9479d918a56954bb29b9f3 /src/os
parent96c8c80c9c832db3cd327728d36f5042b769647f (diff)
Interpolate guScale, guRotate, SetTextMatrix
Diffstat (limited to 'src/os')
-rw-r--r--src/os/guRotateF.c3
-rw-r--r--src/os/guScaleF.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/os/guRotateF.c b/src/os/guRotateF.c
index aaebf6cfe..0bdfad841 100644
--- a/src/os/guRotateF.c
+++ b/src/os/guRotateF.c
@@ -1,4 +1,5 @@
#include "libultra_internal.h"
+#include "port/interpolation/FrameInterpolation.h"
void guRotateF(float m[4][4], float a, float x, float y, float z) {
float sin_a;
@@ -38,5 +39,7 @@ void guRotateF(float m[4][4], float a, float x, float y, float z) {
void guRotate(Mtx* m, float a, float x, float y, float z) {
float mf[4][4];
guRotateF(mf, a, x, y, z);
+ FrameInterpolation_Record_guRotate(mf, a, x, y, z);
+ FrameInterpolation_RecordMatrixMtxFToMtx(mf, m);
guMtxF2L(mf, m);
}
diff --git a/src/os/guScaleF.c b/src/os/guScaleF.c
index 51ee2ac8f..51aa4dfa4 100644
--- a/src/os/guScaleF.c
+++ b/src/os/guScaleF.c
@@ -1,4 +1,5 @@
#include "libultra_internal.h"
+#include "port/interpolation/FrameInterpolation.h"
void guScaleF(float mf[4][4], float x, float y, float z) {
guMtxIdentF(mf);
@@ -11,5 +12,7 @@ void guScaleF(float mf[4][4], float x, float y, float z) {
void guScale(Mtx* m, float x, float y, float z) {
float mf[4][4];
guScaleF(mf, x, y, z);
+ FrameInterpolation_Record_guScale(mf, x, y, z);
+ FrameInterpolation_RecordMatrixMtxFToMtx(mf, m);
guMtxF2L(mf, m);
}