diff --git a/include/zeus/CVector2i.hpp b/include/zeus/CVector2i.hpp index 018b809..4280a5a 100644 --- a/include/zeus/CVector2i.hpp +++ b/include/zeus/CVector2i.hpp @@ -40,6 +40,14 @@ public: { return CVector2i(x / val.x, y / val.y); } + inline bool operator==(const CVector2i& other) const + { + return x == other.x && y == other.y; + } + inline bool operator!=(const CVector2i& other) const + { + return x != other.x || y != other.y; + } }; }