diff options
author | jackpoz <giacomopoz@gmail.com> | 2015-06-28 19:51:59 +0200 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2015-06-29 15:52:57 +0100 |
commit | a48f8f4de9c0fc8251fdbb90a09be9e64fc6a19e (patch) | |
tree | 4df32186bd3a93150021a0592d723d6c51cdad55 /dep/recastnavigation/Detour/Include/DetourMath.h | |
parent | a51300f8142d5ef2a7965ec4c5be97c5fc1cf33b (diff) |
Core/Dependencies: Update recast
Update recast to https://github.com/memononen/recastnavigation/commit/1dd5cf1883d61e723fef3d4957cf758c50e7a52b
Fix 2 warnings.
These changes have no effect on MMAPs and it's not needed to re-extact them.
(cherry picked from commit dfa556aaa2fd60f881845d381f71294b945396f6)
Conflicts:
dep/PackageList.txt
Diffstat (limited to 'dep/recastnavigation/Detour/Include/DetourMath.h')
-rw-r--r-- | dep/recastnavigation/Detour/Include/DetourMath.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dep/recastnavigation/Detour/Include/DetourMath.h b/dep/recastnavigation/Detour/Include/DetourMath.h new file mode 100644 index 00000000000..95e14f8843b --- /dev/null +++ b/dep/recastnavigation/Detour/Include/DetourMath.h @@ -0,0 +1,20 @@ +/** +@defgroup detour Detour + +Members in this module are wrappers around the standard math library +*/ + +#ifndef DETOURMATH_H +#define DETOURMATH_H + +#include <math.h> + +inline float dtMathFabsf(float x) { return fabsf(x); } +inline float dtMathSqrtf(float x) { return sqrtf(x); } +inline float dtMathFloorf(float x) { return floorf(x); } +inline float dtMathCeilf(float x) { return ceilf(x); } +inline float dtMathCosf(float x) { return cosf(x); } +inline float dtMathSinf(float x) { return sinf(x); } +inline float dtMathAtan2f(float y, float x) { return atan2f(y, x); } + +#endif |