Recast Navigation
Navigation-mesh Toolset for Games
DetourMath.h
Go to the documentation of this file.
1 
7 #ifndef DETOURMATH_H
8 #define DETOURMATH_H
9 
10 #include <math.h>
11 
12 inline float dtMathFabsf(float x) { return fabsf(x); }
13 inline float dtMathSqrtf(float x) { return sqrtf(x); }
14 inline float dtMathFloorf(float x) { return floorf(x); }
15 inline float dtMathCeilf(float x) { return ceilf(x); }
16 inline float dtMathCosf(float x) { return cosf(x); }
17 inline float dtMathSinf(float x) { return sinf(x); }
18 inline float dtMathAtan2f(float y, float x) { return atan2f(y, x); }
19 inline bool dtMathIsfinite(float x) { return isfinite(x); }
20 
21 #endif
float dtMathAtan2f(float y, float x)
Definition: DetourMath.h:18
float dtMathFabsf(float x)
Definition: DetourMath.h:12
float dtMathFloorf(float x)
Definition: DetourMath.h:14
float dtMathSinf(float x)
Definition: DetourMath.h:17
float dtMathSqrtf(float x)
Definition: DetourMath.h:13
float dtMathCeilf(float x)
Definition: DetourMath.h:15
bool dtMathIsfinite(float x)
Definition: DetourMath.h:19
float dtMathCosf(float x)
Definition: DetourMath.h:16