some J3D/misc cleanup (#2628)

* some j3d cleanup

* begin using uintptr_t

* j3dgraphbase cleanup

* j3dgraphanimator cleanup
This commit is contained in:
TakaRikka
2025-09-04 07:56:59 -07:00
committed by GitHub
parent ee8b843996
commit b45a089e15
290 changed files with 4221 additions and 3605 deletions
+2 -2
View File
@@ -4510,7 +4510,7 @@ int daB_GG_c::Create() {
fopAcM_setCullSizeFar(this, 3.0f);
J3DModel* model = mpModelMorf->getModel();
model->setUserArea((u32)this);
model->setUserArea((uintptr_t)this);
for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) {
if (i != 0) {
@@ -4521,7 +4521,7 @@ int daB_GG_c::Create() {
field_0x5ac = 150.0f;
if (mType == TYPE_L7_MBOSS) {
mpHelmetModel->setUserArea((u32)this);
mpHelmetModel->setUserArea((uintptr_t)this);
mpHelmetModel->getModelData()->getJointNodePointer(1)->setCallBack(HeadJointCallBack);
mpHelmetModel->getModelData()->getJointNodePointer(2)->setCallBack(HeadJointCallBack);
}