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
+2 -2
View File
@@ -4280,7 +4280,7 @@ void daB_DS_c::executeBullet() {
if (emitter != NULL) {
emitter->setGlobalTranslation(JGeometry::TVec3<f32>(current.pos));
emitter->setParticleCallBackPtr(dPa_control_c::getParticleTracePCB());
emitter->setUserWork((u32)&field_0x724);
emitter->setUserWork((uintptr_t)&field_0x724);
}
}
}
@@ -5401,7 +5401,7 @@ int daB_DS_c::CreateHeap() {
}
model = mpMorf->getModel();
model->setUserArea((u32)this);
model->setUserArea((uintptr_t)this);
for (u16 i = 0; i < model->getModelData()->getJointNum(); i++) {
if (i != 0) {
model->getModelData()->getJointNodePointer(i)->setCallBack(JointCallBack);