mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-08-30 17:59:53 -04:00
Fix interpolation camera bug
This commit is contained in:
@@ -76,4 +76,5 @@ void guLookAt(Mtx* m, float xEye, float yEye, float zEye, float xAt, float yAt,
|
||||
guLookAtF(mf, xEye, yEye, zEye, xAt, yAt, zAt, xUp, yUp, zUp);
|
||||
|
||||
guMtxF2L(mf, m);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*)mf, m);
|
||||
}
|
||||
|
||||
@@ -37,4 +37,5 @@ void guPerspective(Mtx* m, u16* perspNorm, float fovy, float aspect, float near,
|
||||
float mat[4][4];
|
||||
guPerspectiveF(mat, perspNorm, fovy, aspect, near, far, scale);
|
||||
guMtxF2L(mat, m);
|
||||
FrameInterpolation_RecordMatrixMtxFToMtx((MtxF*)mat, m);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user