/
redgpu
/
ezEngine
Обзор
Документация
Войти
/
redgpu
/
ezEngine
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
Code/ThirdParty/Recast/Detour/Include/DetourMath.h
21 строка
629 B
Jan Krassnigg
Updated Recast to latest version (1.6.0+) (#1026)
10 авг 2023, 23:47
Не верифицирован
10 авг 2023, 23:47
182e3f8
Код
Авторство
О чём код?
/** @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); } inline bool dtMathIsfinite(float x) { return isfinite(x); } #endif