-
Notifications
You must be signed in to change notification settings - Fork 44
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 new way to represent a rotation matrix (vector rotation) #235
Comments
Sorry for my stupid issue. :< I soon realize that |
Sorry for digging this out but I just wanted to create a similar issue and now scratching my head how you solved it. I guess that we can use |
If you need to create a rotation from an angle |
Ah yes, makes sense, thanks! |
Introduction
Now,
Rotations.jl
contains two ways to represent rotation matrices: Euler Angles and Rotating around an axis.However, vector rotation, i.e., rotating from one vector to another, is sometimes needed. Is it possible to add this way?
Mathematical method
References:
By the way, such rotation has infinite solutions. The above method gives only one of them.
Simple example
This is a simple example written by myself:
Thank you all!
The text was updated successfully, but these errors were encountered: