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

Quat::from_rotation_arc #129

Merged
merged 16 commits into from
Feb 11, 2021
Merged

Conversation

emilk
Copy link
Contributor

@emilk emilk commented Feb 10, 2021

Here are some very useful functions! In particular Quat::from_rotation_arc for when you want the quaternion that rotates one vector to another.

src/quat.rs Outdated Show resolved Hide resolved
tests/vec3.rs Outdated Show resolved Hide resolved
src/quat.rs Outdated Show resolved Hide resolved
src/vec3.rs Outdated Show resolved Hide resolved
@emilk
Copy link
Contributor Author

emilk commented Feb 11, 2021

This became a little bit more work and a bigger PR than I had anticipated, but I think it is done now :)

@bitshifter bitshifter merged commit a0308aa into bitshifter:master Feb 11, 2021
@hrydgard hrydgard deleted the rotation-arc branch February 18, 2021 08:42
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