Skip to content

Commit ad88b84

Browse files
committed
I suspect you didn't mean to use self.scalar...;
1 parent cc4f994 commit ad88b84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: gameobjects/vector3.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def vector_div(self, vector):
429429

430430
def get_scalar_div(self, scalar):
431431

432-
x, y, z = self.scalar
432+
x, y, z = scalar
433433
return self.from_floats(x / scalar, y / scalar, z / scalar)
434434

435435
def get_vector_div(self, vector):

0 commit comments

Comments
 (0)