diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-09-02 06:38:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-02 16:38:08 +0300 |
| commit | 6432e1541ebcf6ba1c535b07f5227bdd4a8d0e61 (patch) | |
| tree | d01d11c2218d7db5dd00d42b57112765a6ee2ceb /libs/JSystem/J3DGraphAnimator/J3DModel.cpp | |
| parent | 2d45b68231560eaf0001914c8f2da4bd81f9dd59 (diff) | |
setup dolphin VEC/MTX function defines (#1903)
* setup VEC function defines
* setup MTX function defines
Diffstat (limited to 'libs/JSystem/J3DGraphAnimator/J3DModel.cpp')
| -rw-r--r-- | libs/JSystem/J3DGraphAnimator/J3DModel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)); } } } |
