Skip to content

Commit

Permalink
oopes
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Sep 24, 2024
1 parent 880813e commit 6cdbb75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/Mat3x3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Mat3x3 Mat3x3::projectBox(const CBox& box, eTransform transform, float rot /* ra
mat.translate({-0.5, -0.5});
}

return mat.multiply(*this);
return this->copy().multiply(mat);
}

Mat3x3& Mat3x3::transform(eTransform transform) {
Expand Down

0 comments on commit 6cdbb75

Please sign in to comment.