fromRotation

Create a Quaternion representing the shortest rotation from one vector to another.

Both vectors are assumed to be unit length.

Parameters

from

the initial vector

to

the destination vector