polished formatting of comments

This commit is contained in:
Philip Eisenlohr 2018-12-08 12:01:46 -05:00
parent 3d9d70e829
commit 1de37b9397
1 changed files with 6 additions and 6 deletions

View File

@ -300,7 +300,7 @@ class Quaternion:
math.atan2((P*self.q*self.p[1]+self.p[0]*self.p[2])/chi,( self.p[1]*self.p[2]-P*self.q*self.p[0])/chi),
])
eulers %= 2.0*math.pi
eulers %= 2.0*math.pi # enforce positive angles
return np.degrees(eulers) if degrees else eulers