Math/Algorithm: Fix Visual Studio error

Former-commit-id: c426979b55e11db423f08a713cb41c7407886d02
This commit is contained in:
Lynix
2015-06-07 15:19:37 +02:00
parent fe25249136
commit 3aa6fb9efd
2 changed files with 8 additions and 1 deletions

View File

@@ -330,6 +330,12 @@ T NzNormalizeAngle(T angle)
return angle - limit;
}
template<typename T>
bool NzNumberEquals(T a, T b)
{
return NzNumberEquals(a, b, std::numeric_limits<T>::epsilon());
}
template<typename T>
bool NzNumberEquals(T a, T b, T maxDifference)
{