Template Function TRAP::Math::Angle#

Function Documentation#

template<typename T>
constexpr T TRAP::Math::Angle(const tQuat<T> &x)#

Retrieve the rotation angle of a quaternion.

Parameters:

x – Quaternion.

Returns:

Quaternion rotation angle.