-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix order argument for quat_to_euler, quat_from_euler & mat_from_eulet #94
Conversation
elif out is None: | ||
out = affine_matrix | ||
else: | ||
out @= affine_matrix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably just echoing into the void here but this was the first time in my life I used this operator. For some reason it feels special. :)
The rotation order as a string. Can include 'X', 'Y', 'Z' for intrinsic | ||
rotation (uppercase) or 'x', 'y', 'z' for extrinsic rotation (lowercase). | ||
Default is "xyz". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, can a user also pass (or think he can pass) a mix of lowercase and uppercase?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah they can but it will not give well defined results. I could validate inputs better.
Closes #86
This was way complicated. Thank goodness there was a robust python implementation available.
Changes:
quat_to_euler