mirror of
https://github.com/NoelFB/blah.git
synced 2025-06-29 19:25:26 +08:00
vec2 bool comparisons should be const
This commit is contained in:
@ -31,8 +31,8 @@ namespace Blah
|
||||
Vec2& operator /=(float rhs);
|
||||
Vec2& operator *=(float rhs);
|
||||
|
||||
bool operator ==(const Vec2& rhs);
|
||||
bool operator !=(const Vec2& rhs);
|
||||
bool operator ==(const Vec2& rhs) const;
|
||||
bool operator !=(const Vec2& rhs) const;
|
||||
|
||||
Vec2 normal() const;
|
||||
Vec2 turn_right() const;
|
||||
|
Reference in New Issue
Block a user