I have 6 unit vectors (representing the X/Y/Z axis) of 2 arbitrary coordinate systems. The vector values of the second coordinate system are based on the first system. I need to rotate one system into the other and return the matching quaternion. What would be the most reasonable way to do this in c++?
There are a number of posts on SO talking about converting y-up/z-up/left-/right-handed systems into each other, unfortunately I need this to be a generic solution for any 6 unit vectors. Thanks for any insights.
What would be the most reasonable way to do this in c++?en.wikipedia.org/wiki/Euler_angles, obviously