From e55e84f14906caf7e512d7904a7ab467ec985fa6 Mon Sep 17 00:00:00 2001 From: Noel Berry Date: Fri, 9 Apr 2021 22:57:31 -0700 Subject: [PATCH] fixed Mat3x2 == operator --- src/math/mat3x2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)