mirror of
https://github.com/NoelFB/blah.git
synced 2026-11-10 00:35:14 +08:00
vec2 bool comparisons should be const
This commit is contained in:
1 parent
6aa9d3b412
commit
1063f1ff29
2 files changed
+4
-4
No files matched your search
@@ -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