Skip to content

Commit

Permalink
Merge pull request #1 from mr-wook/wookbug
Browse files Browse the repository at this point in the history
I suspect you didn't mean to use self.scalar...;
  • Loading branch information
CoolCat467 authored Jun 3, 2020
2 parents cc4f994 + ad88b84 commit 4be74b6
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 4be74b6

Please # to comment.