diff options
| author | Max Roncace <me@caseif.net> | 2025-11-25 15:32:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 22:32:01 +0200 |
| commit | 9f76ba2f69e32317377477fdd341f4951a012cf0 (patch) | |
| tree | baeeb93b7e97f335bd4fc445817b7c00f2ea0e22 /include/m_Do | |
| parent | 360bad39952e0b9ad72cfa75a2763ef9dab69064 (diff) | |
d_a_npc debug work (#2863)
* Remove d_a_npc3.cpp
This file appears to not actually be real and the asserts in its
functions all reference d_a_npc2.cpp instead.
* d_a_npc debug almost matching
Diffstat (limited to 'include/m_Do')
| -rw-r--r-- | include/m_Do/m_Do_ext.h | 3 | ||||
| -rw-r--r-- | include/m_Do/m_Do_mtx.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/m_Do/m_Do_ext.h b/include/m_Do/m_Do_ext.h index a75897c346..bc3aa12e7c 100644 --- a/include/m_Do/m_Do_ext.h +++ b/include/m_Do/m_Do_ext.h @@ -169,8 +169,7 @@ public: J3DAnmTransform* getBckAnm() { return mAnm; } void removeJoint(J3DModelData* i_modelData, u16 i_idx) { - J3DJoint* mpJnt = i_modelData->getJointNodePointer(i_idx); - mpJnt->setMtxCalc(0); + i_modelData->getJointNodePointer(i_idx)->setMtxCalc(0); } private: diff --git a/include/m_Do/m_Do_mtx.h b/include/m_Do/m_Do_mtx.h index a2229295a6..d6b2fef63e 100644 --- a/include/m_Do/m_Do_mtx.h +++ b/include/m_Do/m_Do_mtx.h @@ -40,7 +40,7 @@ inline void mDoMtx_multVec(CMtxP m, const Vec* src, Vec* dst) { PSMTXMultVec(m, src, dst); } -inline void mDoMtx_multVecArray(Mtx m, const Vec* src, Vec* dst, u32 count) { +inline void mDoMtx_multVecArray(const Mtx m, const Vec* src, Vec* dst, u32 count) { MTXMultVecArray(m, src, dst, count); } @@ -96,7 +96,7 @@ inline void cMtx_copy(const Mtx src, Mtx dst) { mDoMtx_copy(src, dst); } -inline void cMtx_multVecArray(Mtx mtx, const Vec* src, Vec* dst, u32 count) { +inline void cMtx_multVecArray(const Mtx mtx, const Vec* src, Vec* dst, u32 count) { mDoMtx_multVecArray(mtx, src, dst, count); } |
