Fix compile with Dusk's mtx lib

Move Mtx33 and similar types to JMath

Rename mtx.h in decomp to _mtx.h so Aurora's header is used instead.
This commit is contained in:
PJB3005
2026-02-24 13:15:21 +01:00
parent 33eec2d3d9
commit 449900d2bf
8 changed files with 11 additions and 739 deletions
+7
View File
@@ -4,6 +4,13 @@
#include "dolphin/mtx.h"
#include <cmath>
typedef f32 Mtx33[3][3];
typedef f32 Mtx23[2][3];
typedef f32 (*Mtx3P)[3];
typedef f32 (*MtxP)[4];
typedef const f32 (*CMtxP)[4];
typedef f32 QuaternionP[4];
void JMAMTXApplyScale(const Mtx, Mtx, f32, f32, f32);
void JMAEulerToQuat(s16 param_0, s16 param_1, s16 param_2, Quaternion* param_3);
void JMAQuatLerp(const Quaternion*, const Quaternion*, f32, Quaternion*);