Various inline cleanup

This commit is contained in:
LagoLunatic
2025-06-19 19:03:11 -04:00
parent b295d48d1d
commit efc33c5fc4
24 changed files with 341 additions and 278 deletions
+6 -1
View File
@@ -1,6 +1,7 @@
#ifndef J3DSHAPEMTX_H
#define J3DSHAPEMTX_H
#include "JSystem/JUtility/JUTAssert.h"
#include "dolphin/mtx/mtx.h"
class J3DShapeMtx {
@@ -26,7 +27,11 @@ public:
static u8* sCurrentScaleFlag;
static u8 sNBTFlag;
static void setCurrentPipeline(u32 pipeline) { sCurrentPipeline = pipeline; }
static void setCurrentPipeline(u32 pipeline) {
// TODO: needs to go in J3DShape.h for assert
J3D_ASSERT(91, pipeline < 4, "Error : range over.");
sCurrentPipeline = pipeline;
}
protected:
/* 0x04 */ u16 mUseMtxIndex;