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

Function Documentation#

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

Retrieve the square root of the parameter.

Parameters:

x – Specify the value of which to take the square root.

Returns:

Square root of a quaternion.