mirror of
https://github.com/zeldaret/tp
synced 2026-08-13 12:19:17 -04:00
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:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user