parenthesis

This commit is contained in:
Mylloon 2023-03-31 02:43:15 +02:00
parent 0b04ea5c0e
commit 47fdc8c586
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -75,7 +75,7 @@ class Vec:
)
def is_zero(self):
xy = float(self.x) == 0. and float(self.y) == 0.
xy = (float(self.x) == 0.) and (float(self.y) == 0.)
if self.z == None:
return xy