diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2026-06-26 08:03:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-26 11:03:34 -0400 |
| commit | d489dc996b1cd4c59c6f25532c439e2323b83b6f (patch) | |
| tree | 3a6e5517de91a5efdedcf1ecccab999737ac9a36 /src/JSystem/J3DGraphAnimator/J3DModelData.cpp | |
| parent | 0f2521d9a7381fd9123f59cb90c6fbbbcba72d10 (diff) | |
copy over a bunch of sdk stuff (#1066)
* most of dolsdk copied over
* add some gf stuff
* trk wip
* ode/amc stuff
* build fix
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DModelData.cpp')
| -rw-r--r-- | src/JSystem/J3DGraphAnimator/J3DModelData.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DModelData.cpp b/src/JSystem/J3DGraphAnimator/J3DModelData.cpp index e52bb060..e838f569 100644 --- a/src/JSystem/J3DGraphAnimator/J3DModelData.cpp +++ b/src/JSystem/J3DGraphAnimator/J3DModelData.cpp @@ -150,10 +150,10 @@ void J3DModelData::indexToPtr() { bool J3DModelData::isDeformablePositionFormat() const { GXVtxAttrFmtList *vtxAttr = getVtxAttrFmtList(); - for (; vtxAttr->mAttrib != GX_VA_NULL; vtxAttr++) { - switch (vtxAttr->mAttrib) { + for (; vtxAttr->attr != GX_VA_NULL; vtxAttr++) { + switch (vtxAttr->attr) { case GX_VA_POS: - if (vtxAttr->mCompType == GX_F32 && vtxAttr->mCompCnt == GX_POS_XYZ) + if (vtxAttr->type == GX_F32 && vtxAttr->cnt == GX_POS_XYZ) return true; break; default: |
