|
|
I finally solve the problem this way :
N = VxU matrix FROM = [V, N, VxN] matrix TO = [U, N, UxN] matrix ROT = TO * transpose(FROM)
It's okay if norm(N) != 0. When V and U are colinear, norm(N) = 0. if V=U, nothing to do if V=-U, just a central point symetry
|