Template Function TRAP::Math::Equal(const tQuat<T>&, const tQuat<T>&, T)#
Function Documentation#
-
template<typename T>
constexpr Vec<4, bool> TRAP::Math::Equal(const tQuat<T> &x, const tQuat<T> &y, T epsilon)# Perform a component-wise equal-to comparison of two quaternions taking epsilon into account.
- Parameters:
x – Specifies the first quaternion to be used in the comparison operation.
y – Specifies the second quaternion to be used in the comparison operation.
epsilon –
- Returns:
Component-wise comparison of |x - y| < epsilon.