Template Function TRAP::Math::Roll#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::Roll(const tQuat<T> &q)#

Retrieve roll from a quaternion.

Parameters:

q – Quaternion to retrieve Euler angle from.

Returns:

Roll value of euler angles expressed in radians.