diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-10-17 21:35:18 -0400 |
|---|---|---|
| committer | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2024-10-17 21:35:18 -0400 |
| commit | 34afbd84db8d66dd634fa19e94a737d40dfe7995 (patch) | |
| tree | fb950a75f3928b8283874b277a9ab9baf1345392 /src/JSystem/J3DGraphAnimator/J3DModel.cpp | |
| parent | f1d73f7fc721e957303d4e6541ec165c3ad9aea5 (diff) | |
clangd: Started fixing warnings and errors, code cleanup
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DModel.cpp')
| -rw-r--r-- | src/JSystem/J3DGraphAnimator/J3DModel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DModel.cpp b/src/JSystem/J3DGraphAnimator/J3DModel.cpp index c7089051..0252093f 100644 --- a/src/JSystem/J3DGraphAnimator/J3DModel.cpp +++ b/src/JSystem/J3DGraphAnimator/J3DModel.cpp @@ -598,7 +598,7 @@ extern void J3DPSMtxArrayConcat(f32(*)[4], f32(*)[4], f32(*)[4], u32); void J3DModel::calcDrawMtx() { u16 i; switch (getMtxCalcMode()) { - case 0: + case 0: { MtxP viewMtx = j3dSys.getViewMtx(); for (i = 0; i < mModelData->getDrawFullWgtMtxNum(); i++) { u16 drawMtxIdx = mModelData->getDrawMtxIndex(i); @@ -608,6 +608,7 @@ void J3DModel::calcDrawMtx() { J3DPSMtxArrayConcat(viewMtx, getWeightAnmMtx(0), getDrawMtx(mModelData->getDrawFullWgtMtxNum()), mModelData->getWEvlpMtxNum()); } break; + } case 1: for (i = 0; i < mModelData->getDrawFullWgtMtxNum(); i++) { MTXCopy(getAnmMtx(mModelData->getDrawMtxIndex(i)), getDrawMtx(i)); |
