diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2022-12-31 19:49:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-31 19:49:31 -0800 |
| commit | e5ff41975d9d504ed2a64a8092666b0fd15e14d7 (patch) | |
| tree | 1711bfbfbacd209ea74cef1f78297edb28ed13ab /include/JSystem/J3DGraphAnimator | |
| parent | b95aed1512b85e4d8d66b4b2a234f4d60c4f34c0 (diff) | |
| parent | 6557ac8cd707d3cb62619bff02dc90f45b20adad (diff) | |
Merge pull request #234 from magcius/fop
more J3DDrawBuffer
Diffstat (limited to 'include/JSystem/J3DGraphAnimator')
| -rw-r--r-- | include/JSystem/J3DGraphAnimator/J3DModel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/JSystem/J3DGraphAnimator/J3DModel.h b/include/JSystem/J3DGraphAnimator/J3DModel.h index 0c54118357..a6537a1bf2 100644 --- a/include/JSystem/J3DGraphAnimator/J3DModel.h +++ b/include/JSystem/J3DGraphAnimator/J3DModel.h @@ -65,7 +65,7 @@ public: void offFlag(u32 flag) { mFlags &= ~flag; } bool checkFlag(u32 flag) const { return (mFlags & flag) ? true : false; } - bool isCpuSkinningOn() const { return (mFlags & 4) && (mFlags & 8); } + bool isCpuSkinningOn() const { return (mFlags & J3DMdlFlag_SkinPosCpu) && (mFlags & J3DMdlFlag_SkinNrmCpu); } Mtx& getBaseTRMtx() { return mBaseTransformMtx; } void i_setBaseTRMtx(Mtx m) { PSMTXCopy(m, mBaseTransformMtx); } |
