hi,
how can i create a rotation matrix such that, when applied, it rotates a direction vector to another ?
formally:
SimpleVector from;
Simplevector to;
from.matMul(m);
from.equals(to); // -> should be true ignoring rounding errors
Getting the rotation matrix of the first vector, inverting it and multiplying the result with the rotation matrix of the second vector might work...
yes it works, thanks :)