Template Function TRAP::Math::Yaw#

Function Documentation#

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

Retrieve yaw from a quaternion.

Parameters:

q – Quaternion to retrieve Euler angle from.

Returns:

Yaw value of euler angles expressed in radians.