Template Function TRAP::Math::Pitch#

Function Documentation#

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

Retrieve pitch from a quaternion.

Parameters:

q – Quaternion to retrieve Euler angle from.

Returns:

Pitch value of euler angles expressed in radians.