Skip to content

Commit

Permalink
Fixed a bug in tf.py where a call to Quat.vector() would throw an err…
Browse files Browse the repository at this point in the history
…or instead of returning the imaginary vector portion of a quaternion.
  • Loading branch information
Ryker Fish committed Oct 28, 2020
1 parent 6c660b2 commit f7d7753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/amino/tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ def to_eulerzyx(self):

def vector(self):
"""Returns the vector (xyz) part"""
return Vec3(self.x, self.y, self.z)
return Vec3([self.x, self.y, self.z])

def scalar(self):
"""Returns the scalar (w) part"""
Expand Down

0 comments on commit f7d7753

Please sign in to comment.