fixed Mat3x2 == operator

This commit is contained in:
Noel Berry 2021-04-09 22:57:31 -07:00
parent 63c2493fd3
commit e55e84f149

View File

@ -46,7 +46,7 @@ Mat3x2& Mat3x2::operator*=(const Mat3x2& rhs)
bool 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) bool Mat3x2::operator !=(const Mat3x2& rhs)