Update vec.py

This commit is contained in:
blueloveTH 2024-12-13 17:16:43 +08:00
parent de736e8776
commit a947f7249f

View File

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