Template Function TRAP::Math::Normalize(const tQuat<T>&)#

Function Documentation#

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

Calculate the normalized product.

Parameters:

q – Specifies the quaternion to normalize.

Returns:

Normalized quaternion.