Skip to content

Commit

Permalink
I suspect you didn't mean to use self.scalar...;
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-wook committed Jun 1, 2020
1 parent cc4f994 commit ad88b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gameobjects/vector3.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def vector_div(self, vector):

def get_scalar_div(self, scalar):

x, y, z = self.scalar
x, y, z = scalar
return self.from_floats(x / scalar, y / scalar, z / scalar)

def get_vector_div(self, vector):
Expand Down

0 comments on commit ad88b84

Please sign in to comment.