mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-10 23:22:33 -04:00
fix linux compilation
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
||||
#include "libultra_internal.h"
|
||||
#include "port/interpolation/FrameInterpolation.h"
|
||||
|
||||
void guOrthoF(float m[4][4], float left, float right, float bottom, float top, float near, float far, float scale) {
|
||||
int row;
|
||||
@@ -21,6 +22,6 @@ void guOrthoF(float m[4][4], float left, float right, float bottom, float top, f
|
||||
void guOrtho(Mtx* m, float left, float right, float bottom, float top, float near, float far, float scale) {
|
||||
float mf[4][4];
|
||||
guOrthoF(mf, left, right, bottom, top, near, far, scale);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*)mf, m);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*) mf, m);
|
||||
guMtxF2L(mf, m);
|
||||
}
|
||||
|
||||
+2
-1
@@ -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,6 +39,6 @@ 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_RecordMatrixMtxFToMtx((MtxF*)mf, m);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*) mf, m);
|
||||
guMtxF2L(mf, m);
|
||||
}
|
||||
|
||||
+2
-1
@@ -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,6 +12,6 @@ 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_RecordMatrixMtxFToMtx((MtxF*)mf, m);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*) mf, m);
|
||||
guMtxF2L(mf, m);
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#include "libultra_internal.h"
|
||||
#include "port/interpolation/FrameInterpolation.h"
|
||||
|
||||
void guTranslateF(float m[4][4], float x, float y, float z) {
|
||||
guMtxIdentF(m);
|
||||
@@ -10,6 +11,6 @@ void guTranslateF(float m[4][4], float x, float y, float z) {
|
||||
void guTranslate(Mtx* m, float x, float y, float z) {
|
||||
float mf[4][4];
|
||||
guTranslateF(mf, x, y, z);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*)mf, m);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*) mf, m);
|
||||
guMtxF2L(mf, m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user