|
inlineconstexpr |
Callable object computing a quaternion from its to_rotation_matrix representation.
This function build rotation_matrix angles from a quaternion.
Parameters
q
quaternion representing the rotationReturn value
assume_unitary
, assumes that q
is already normalizedif T
is the element type of q
, returns an std::array<std::array<T, 3>, 3>
containing the 9 coefficients of the rotation matrix