mirror of
https://github.com/NoelFB/blah.git
synced 2025-02-20 13:48:27 +08:00
fixed Mat3x2 == operator
This commit is contained in:
parent
63c2493fd3
commit
e55e84f149
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user