Skip to content

Commit

Permalink
added a kind hint for an annoying error
Browse files Browse the repository at this point in the history
  • Loading branch information
ZegesMenden committed May 2, 2022
1 parent 88991d7 commit 464773a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytvc/physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def rotate(self, vector: Vec3) -> Vec3:
tmp = self * tmp * self.conjugate()
return Vec3(tmp.x, tmp.y, tmp.z)
else:
raise NotImplementedError
raise NotImplementedError(f"cannot rotate type {vector.__class__}")

def fractional(self, a) -> Quat:
"""Return the fractional of the Quat."""
Expand Down

0 comments on commit 464773a

Please sign in to comment.