Skip to content
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

Add mint quaternion support #167

Merged
merged 2 commits into from
Jan 2, 2024
Merged

Add mint quaternion support #167

merged 2 commits into from
Jan 2, 2024

Conversation

sjb3d
Copy link
Contributor

@sjb3d sjb3d commented Dec 26, 2023

This PR adds conversion between mint::Quaternion and Rotor3 types, implemented using the existing functions Rotor3::from_quaternion_array and Rotor3::into_quaternion_array.

Tested locally in a project that uses glam, rotations seem to round-trip ok! If this PR could be considered for a future update that would be great, thanks! :)

Copy link
Owner

@fu5ha fu5ha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice lgtm

@fu5ha fu5ha merged commit d6ff5ba into fu5ha:main Jan 2, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants