diff --git a/src/math/mat3x2.cpp b/src/math/mat3x2.cpp index 9bc5a95..ee354d6 100644 --- a/src/math/mat3x2.cpp +++ b/src/math/mat3x2.cpp @@ -46,7 +46,7 @@ Mat3x2& Mat3x2::operator*=(const Mat3x2& rhs) bool Mat3x2::operator ==(const Mat3x2& rhs) { - return memcmp(this, &rhs, sizeof(Mat3x2)); + return memcmp(this, &rhs, sizeof(Mat3x2)) == 0; } bool Mat3x2::operator !=(const Mat3x2& rhs)