aboutsummaryrefslogtreecommitdiff
path: root/dep/recastnavigation/Detour/DetourCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/recastnavigation/Detour/DetourCommon.cpp')
-rw-r--r--dep/recastnavigation/Detour/DetourCommon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dep/recastnavigation/Detour/DetourCommon.cpp b/dep/recastnavigation/Detour/DetourCommon.cpp
index a98d8c8e56d..b5700f5930b 100644
--- a/dep/recastnavigation/Detour/DetourCommon.cpp
+++ b/dep/recastnavigation/Detour/DetourCommon.cpp
@@ -16,14 +16,14 @@
// 3. This notice may not be removed or altered from any source distribution.
//
+#include <math.h>
#include "DetourCommon.h"
-#include "DetourMath.h"
//////////////////////////////////////////////////////////////////////////////////////////
float dtSqrt(float x)
{
- return dtMathSqrtf(x);
+ return sqrtf(x);
}
void dtClosestPtPointTriangle(float* closest, const float* p,