summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphAnimator/J3DModel.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-10 19:30:51 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2025-04-10 19:30:51 -0400
commit309158e274a0613594ffabddec48765cbd4f9c83 (patch)
treefb0842e690420611ee8079f09d4eaeb75a9fb57d /src/JSystem/J3DGraphAnimator/J3DModel.cpp
parent0bb7ff4051ee84083f16d534b0670bcc0e507551 (diff)
J3DModel inlines cleanup, procBottleSwing_init match, etc
Diffstat (limited to 'src/JSystem/J3DGraphAnimator/J3DModel.cpp')
-rw-r--r--src/JSystem/J3DGraphAnimator/J3DModel.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/JSystem/J3DGraphAnimator/J3DModel.cpp b/src/JSystem/J3DGraphAnimator/J3DModel.cpp
index 06cf9cf8..a04c223f 100644
--- a/src/JSystem/J3DGraphAnimator/J3DModel.cpp
+++ b/src/JSystem/J3DGraphAnimator/J3DModel.cpp
@@ -675,14 +675,12 @@ void J3DModel::calcNrmMtx() {
for (u16 i = 0; i < getModelData()->getDrawMtxNum(); i++) {
if (getModelData()->getDrawMtxFlag(i) == 0) {
if (getScaleFlag(getModelData()->getDrawMtxIndex(i)) == 1) {
- Mtx& drawMtx = getDrawMtx(i);
- J3DPSMtx33CopyFrom34(drawMtx, getNrmMtx(i));
+ setNrmMtx(i, getDrawMtx(i));
} else
J3DPSCalcInverseTranspose(getDrawMtx(i), getNrmMtx(i));
} else {
if (getEnvScaleFlag(getModelData()->getDrawMtxIndex(i)) == 1) {
- Mtx& drawMtx = getDrawMtx(i);
- J3DPSMtx33CopyFrom34(drawMtx, getNrmMtx(i));
+ setNrmMtx(i, getDrawMtx(i));
} else
J3DPSCalcInverseTranspose(getDrawMtx(i), getNrmMtx(i));
}