Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
PhlexPlexico committed Jun 23, 2024
1 parent 70095f9 commit 9ce0290
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion code/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
5 changes: 2 additions & 3 deletions code/source/rnd/models.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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;
Expand All @@ -105,7 +105,6 @@ namespace rnd {

Model_UpdateMatrixPosition(&tmpMtx, &tmpMtx, &tmpPos);
#endif


if (model->saModel != NULL)
Model_SetMtxAndModel(model->saModel, &tmpMtx);
Expand Down

0 comments on commit 9ce0290

Please sign in to comment.