|
@@ -10,6 +10,9 @@ class vec2:
|
|
|
|
|
|
|
|
def __eq__(self, other):
|
|
def __eq__(self, other):
|
|
|
return self.x == other.x and self.y == other.y
|
|
return self.x == other.x and self.y == other.y
|
|
|
|
|
+
|
|
|
|
|
+ def __ne__(self, other):
|
|
|
|
|
+ return not self == other
|
|
|
|
|
|
|
|
x = vec2(0, 0)
|
|
x = vec2(0, 0)
|
|
|
for i in range(10000000):
|
|
for i in range(10000000):
|