From d8744e1f34e9955d55a5605f939bdf0bf9d8a729 Mon Sep 17 00:00:00 2001 From: robojumper Date: Thu, 7 May 2026 19:53:30 +0200 Subject: MTX/VEC cleanup --- src/egg/gfx/eggModelEx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/egg/gfx/eggModelEx.cpp') diff --git a/src/egg/gfx/eggModelEx.cpp b/src/egg/gfx/eggModelEx.cpp index 14c10293..c38a3aed 100644 --- a/src/egg/gfx/eggModelEx.cpp +++ b/src/egg/gfx/eggModelEx.cpp @@ -66,7 +66,7 @@ void ModelEx::getShapeMinMax(u16 shapeIndex, math::VEC3 *pMin, math::VEC3 *pMax, math::MTX34 *pMtxArr = reinterpret_cast(G3DUtility::BumpAlloc(info.GetNumPosNrmMtx() * sizeof(math::MTX34), 1)); if (doCalcWorld) { - PSMTXIdentity(tmpMtx); + MTXIdentity(tmpMtx); calcWorld(pMtxArr, &tmpMtx); } @@ -86,7 +86,7 @@ void ModelEx::getShapeMinMax(u16 shapeIndex, math::VEC3 *pMin, math::VEC3 *pMax, mtxIdx = defaultMatrixIdx; } nw4r::math::VEC3 tmpVec; - PSMTXMultVec(pMtxArr[mtxIdx], &analyze.getVtxResult().field_0x08, tmpVec); + MTXMultVec(pMtxArr[mtxIdx], &analyze.getVtxResult().field_0x08, tmpVec); if (firstIteration) { firstIteration = false; *pMin = *pMax = tmpVec; -- cgit v1.2.3