Use joint enums in several different places (#981)

Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
This commit is contained in:
123456789758
2026-06-16 14:55:36 -04:00
committed by GitHub
parent f2d931cd81
commit d61a31e7ab
82 changed files with 1693 additions and 1522 deletions
+3 -3
View File
@@ -24,10 +24,10 @@ static BOOL nodeCallBack(J3DNode *node, int calcTiming) {
J3DJoint *joint = (J3DJoint *)node;
s32 jntNo = joint->getJntNo();
J3DModel *model = j3dSys.getModel();
daObjHami3::Act_c *userArea = (daObjHami3::Act_c *)model->getUserArea();
if (userArea != NULL) {
daObjHami3::Act_c* i_this = (daObjHami3::Act_c *)model->getUserArea();
if (i_this != NULL) {
MTXCopy(model->getAnmMtx(jntNo), *calc_mtx);
cMtx_YrotM(*calc_mtx, userArea->field_0x2C8);
cMtx_YrotM(*calc_mtx, i_this->field_0x2C8);
model->setAnmMtx(jntNo, *calc_mtx);
cMtx_copy(*calc_mtx, J3DSys::mCurrentMtx);
}