diff --git a/src/math/Mat3x3.cpp b/src/math/Mat3x3.cpp index 8b2d24e..f1b2bc8 100644 --- a/src/math/Mat3x3.cpp +++ b/src/math/Mat3x3.cpp @@ -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) {