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 35029ba909
commit 87069235c0
290 changed files with 4221 additions and 3605 deletions
+1 -1
View File
@@ -2487,7 +2487,7 @@ int daE_OC_c::CreateHeap() {
return 0;
}
J3DModel* my_model = mpMorf->getModel();
my_model->setUserArea((u32)this);
my_model->setUserArea((uintptr_t)this);
for (u16 idx = 1; idx < my_model->getModelData()->getJointNum(); ++idx) {
if (idx == 0x11 || idx == 0xc) {
my_model->getModelData()->getJointNodePointer(idx)->setCallBack(&daE_OC_c::JointCallBack);