Math/Algorithm: Fix Visual Studio error
Former-commit-id: c426979b55e11db423f08a713cb41c7407886d02
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user