diff options
| author | 123456789758 <205478182+123456789758@users.noreply.github.com> | 2026-06-16 14:55:36 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-16 14:55:36 -0400 |
| commit | d61a31e7ab30ef357060124bae1830939106104b (patch) | |
| tree | 409e8cd3e8f81a3cd516470a88b4a237636e2bd5 /src/d/actor/d_a_obj_figure.cpp | |
| parent | f2d931cd81b76b5e7ab29f6b53d172040d088a23 (diff) | |
Use joint enums in several different places (#981)
Co-authored-by: < >
Diffstat (limited to 'src/d/actor/d_a_obj_figure.cpp')
| -rw-r--r-- | src/d/actor/d_a_obj_figure.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/d/actor/d_a_obj_figure.cpp b/src/d/actor/d_a_obj_figure.cpp index fbedef17..f062d48a 100644 --- a/src/d/actor/d_a_obj_figure.cpp +++ b/src/d/actor/d_a_obj_figure.cpp @@ -1071,12 +1071,12 @@ void linkDraw(mDoExt_McaMorf* pMorf) { J3DModelData* modelData = model->getModelData(); #endif - J3DJoint* link_root_joint = modelData->getJointNodePointer(0x00); // link_root joint - J3DJoint* cl_eye_joint = modelData->getJointNodePointer(0x13); // cl_eye joint - J3DJoint* cl_mayu_joint = modelData->getJointNodePointer(0x15); // cl_mayu joint + J3DJoint* link_root_joint = modelData->getJointNodePointer(VF_064L_JNT_LINK_ROOT_e); + J3DJoint* cl_eye_joint = modelData->getJointNodePointer(VF_064L_JNT_CL_EYE_e); + J3DJoint* cl_mayu_joint = modelData->getJointNodePointer(VF_064L_JNT_CL_MAYU_e); J3DMaterial* mtl; - mtl = modelData->getJointNodePointer(0x13)->getMesh(); // cl_eye joint + mtl = modelData->getJointNodePointer(VF_064L_JNT_CL_EYE_e)->getMesh(); int zoff_blend_cnt = 0; int zoff_none_cnt = 0; int zon_cnt = 0; @@ -1098,7 +1098,7 @@ void linkDraw(mDoExt_McaMorf* pMorf) { } mtl = mtl->getNext(); } - mtl = modelData->getJointNodePointer(0x15)->getMesh(); // cl_mayu joint + mtl = modelData->getJointNodePointer(VF_064L_JNT_CL_MAYU_e)->getMesh(); } dComIfGd_setListP0(); @@ -1169,8 +1169,8 @@ void linkDraw(mDoExt_McaMorf* pMorf) { mtl->getShape()->show(); } - modelData->getJointNodePointer(0x14)->getMesh()->getShape()->show(); // cl_hana joint - modelData->getJointNodePointer(0x29)->getMesh()->getShape()->show(); // cl_back joint + modelData->getJointNodePointer(VF_064L_JNT_CL_HANA_e)->getMesh()->getShape()->show(); + modelData->getJointNodePointer(VF_064L_JNT_CL_BACK_e)->getMesh()->getShape()->show(); #if VERSION == VERSION_DEMO dComIfGd_setList(); |
