|
inlineconstexpr |
Callable object computing an unitary quaternion value representing a rotation that align v0 to v1.
Return value An unitary quaternion value representing a rotation that align v0
to v1
. If v0
or v01
is a nullvector the result is one as a quaternion.
v0
and v1
are not assumed unitary (vectors of norm 1). If it is the case the decorator assume_unitary
can be used.Parameters
v0
: span of 3 elementsv1
: span of 3 elements