Template Function TRAP::Math::Conjugate#

Function Documentation#

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

Conjugate a quaternion.

Parameters:

q – Quaternion to conjugate.

Returns:

Conjugated quaternion.