mirror of
https://github.com/zeldaret/tp
synced 2026-09-02 10:01:41 -04:00
some J3D/misc cleanup (#2628)
* some j3d cleanup * begin using uintptr_t * j3dgraphbase cleanup * j3dgraphanimator cleanup
This commit is contained in:
@@ -563,7 +563,7 @@ int daNpc_ykM_c::CreateHeap() {
|
||||
for (u16 i = 0; i < mdlData_p->getJointNum(); i++) {
|
||||
mdlData_p->getJointNodePointer(i)->setCallBack(ctrlJointCallBack);
|
||||
}
|
||||
model->setUserArea((u32)this);
|
||||
model->setUserArea((uintptr_t)this);
|
||||
|
||||
mpMatAnm[0] = new daNpcT_MatAnm_c();
|
||||
if (mpMatAnm[0] == NULL) {
|
||||
@@ -1316,7 +1316,7 @@ void daNpc_ykM_c::setAttnPos() {
|
||||
mDoMtx_stack_c::ZXYrotM(mCurAngle);
|
||||
mDoMtx_stack_c::scaleM(scale);
|
||||
model->setBaseTRMtx(mDoMtx_stack_c::get());
|
||||
model->setUserArea((u32)this);
|
||||
model->setUserArea((uintptr_t)this);
|
||||
|
||||
mpMorf[0]->onMorfNone();
|
||||
if (cM3d_IsZero(field_0xdfc) != false) {
|
||||
|
||||
Reference in New Issue
Block a user