diff options
Diffstat (limited to 'src/os')
| -rw-r--r-- | src/os/guRotateF.c | 3 | ||||
| -rw-r--r-- | src/os/guScaleF.c | 3 |
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); } |
