We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe3fb68 commit a44c925Copy full SHA for a44c925
1 file changed
gem/matrix.py
@@ -148,7 +148,7 @@ def rotate3(axis, theta):
148
149
oneMinusCos = (1.0 - c)
150
151
- nAxis = axis.normalize()
+ nAxis = vector.normalize(3, axis)
152
153
x2 = nAxis[0] * nAxis[0]
154
y2 = nAxis[1] * nAxis[1]
@@ -166,7 +166,7 @@ def rotate4(axis, theta):
166
167
168
169
170
171
172
@@ -393,7 +393,7 @@ def __idiv__(self, other):
393
self.matrix = matrix_div(self.matrix, other)
394
return self
395
else:
396
- return NotImplemented
+ return NotImplemented
397
398
def i_scale(self, value):
399
''' Scale matrix instance in-place by Vector. '''
0 commit comments