From 6432e1541ebcf6ba1c535b07f5227bdd4a8d0e61 Mon Sep 17 00:00:00 2001 From: TakaRikka <38417346+TakaRikka@users.noreply.github.com> Date: Sat, 2 Sep 2023 06:38:08 -0700 Subject: setup dolphin VEC/MTX function defines (#1903) * setup VEC function defines * setup MTX function defines --- libs/JSystem/J3DGraphAnimator/J3DModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/JSystem/J3DGraphAnimator/J3DModel.cpp') diff --git a/libs/JSystem/J3DGraphAnimator/J3DModel.cpp b/libs/JSystem/J3DGraphAnimator/J3DModel.cpp index 61d44c9965..bda6bfd186 100644 --- a/libs/JSystem/J3DGraphAnimator/J3DModel.cpp +++ b/libs/JSystem/J3DGraphAnimator/J3DModel.cpp @@ -119,8 +119,8 @@ void J3DModel::initialize() { mBaseScale.y = 1.0f; mBaseScale.z = 1.0f; - PSMTXIdentity(mBaseTransformMtx); - PSMTXIdentity(mInternalView); + MTXIdentity(mBaseTransformMtx); + MTXIdentity(mInternalView); mMtxBuffer = NULL; mMatPacket = NULL; @@ -406,7 +406,7 @@ void J3DModel::calcDiffTexMtx() { J3DTexMtx* texMtxNode = texGenBlock->getTexMtx(j); J3DTexMtxObj* texMtxObj = shapePacket->getTexMtxObj(); if (texMtxNode != NULL && texMtxObj != NULL) { - PSMTXCopy(texMtxNode->getMtx(), texMtxObj->getMtx(j)); + MTXCopy(texMtxNode->getMtx(), texMtxObj->getMtx(j)); } } } -- cgit v1.2.3