Hi
Does anybody have fast code to compute a 3x3 rotation matrix from a fixed base vector and a dynamic vector?
In detail: I have a (known) vector V and the positive z-axis vector Z. I want to compute a rotation matrix (or a quaternion), that is able to transform Z to output V.
Thanks in advance.
Marvin