|
inlineconstexpr |
Callable object computing a quaternion from its euler representation.
This function builds a quaternion from 3 euler angles in radian. Template parameters I, J, K of type int are used to choose the euler axis order.
for instance I = 3, J = 2, K = 3 choose the ZYZ sequence. the values of I, J, and K must be in {1, 2, 3} ans satisfy I != J && J != K.
Parameters
a
, b
, c
: the angles in radiana1
, a2
, a3
the axis parameters to be chosen between X_, Y_, Z_ (two consecutive axis cannot be the same)Template parameters
Return value