Use J3DSysDrawBuf Enum (#3166)

- Update all the 0/1 values to use the enum

Hopefully this builds properly I didn't set up everything locally
This commit is contained in:
SuperDude88
2026-06-19 21:27:34 -04:00
committed by GitHub
parent 8d43c80c42
commit ecafc81d53
9 changed files with 37 additions and 37 deletions
@@ -159,8 +159,8 @@ J3DJoint::J3DJoint() {
void J3DJoint::entryIn() {
MtxP anmMtx = j3dSys.getModel()->getAnmMtx(mJntNo);
j3dSys.getDrawBuffer(0)->setZMtx(anmMtx);
j3dSys.getDrawBuffer(1)->setZMtx(anmMtx);
j3dSys.getDrawBuffer(J3DSysDrawBuf_Opa)->setZMtx(anmMtx);
j3dSys.getDrawBuffer(J3DSysDrawBuf_Xlu)->setZMtx(anmMtx);
for (J3DMaterial* mesh = mMesh; mesh != NULL;) {
if (mesh->getShape()->checkFlag(J3DShpFlag_Visible)) {
mesh = mesh->getNext();
+1 -1
View File
@@ -48,7 +48,7 @@ J3DSys::J3DSys() {
mModel = NULL;
mShape = NULL;
for (int i = 0; i < 2; i++)
for (int i = 0; i < ARRAY_SIZE(mDrawBuffer); i++)
mDrawBuffer[i] = NULL;
mTexture = NULL;