From 9ce02906d61c4b536d0ceff363df2b57bcc95080 Mon Sep 17 00:00:00 2001 From: Phlex Date: Sun, 23 Jun 2024 16:36:16 -0600 Subject: [PATCH] Linter --- code/source/main.cpp | 2 +- code/source/rnd/models.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/code/source/main.cpp b/code/source/main.cpp index 0e5428b..1a388b6 100644 --- a/code/source/main.cpp +++ b/code/source/main.cpp @@ -111,7 +111,7 @@ namespace rnd { if (pressedButtons == (u32)game::pad::Button::ZR) { yPos += 10.00f; } else if (pressedButtons == (u32)game::pad::Button::ZL) { - yPos -=10.00f; + yPos -= 10.00f; } else if (pressedButtons == (u32)game::pad::Button::Right) { xPos += 10.00f; } else if (pressedButtons == (u32)game::pad::Button::Left) { diff --git a/code/source/rnd/models.cpp b/code/source/rnd/models.cpp index 28992f6..6643449 100644 --- a/code/source/rnd/models.cpp +++ b/code/source/rnd/models.cpp @@ -75,7 +75,7 @@ namespace rnd { #if defined ENABLE_DEBUG || defined DEBUG_PRINT z3dVec3f tmpPos = {0.0f, 0.0f, 0.0f}; #endif - + SkeletonAnimationModel_CopyMtx(&tmpMtx, &model->actor->mtx); // Base case - if we're a free-standing heart piece then set scale and use built-in scaling call. if (model->baseItemId == 0x00 && model->itemRow->objectId == 0x01) { @@ -91,7 +91,7 @@ namespace rnd { else model->scale = 10.00f; } - + scaleMtx[0][0] = model->scale; scaleMtx[1][1] = model->scale; scaleMtx[2][2] = model->scale; @@ -105,7 +105,6 @@ namespace rnd { Model_UpdateMatrixPosition(&tmpMtx, &tmpMtx, &tmpPos); #endif - if (model->saModel != NULL) Model_SetMtxAndModel(model->saModel, &tmpMtx);