mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-19 14:39:43 -04:00
dfa556aaa2
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.
21 lines
569 B
C
21 lines
569 B
C
/**
|
|
@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
|