polished formatting of comments
This commit is contained in:
parent
3d9d70e829
commit
1de37b9397
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue