diff --git a/include/bx/fpumath.h b/include/bx/fpumath.h index baff90d..d2e58e3 100644 --- a/include/bx/fpumath.h +++ b/include/bx/fpumath.h @@ -26,6 +26,11 @@ namespace bx return _rad * 180.0f / pi; } + inline float fround(float _f) + { + return float(int(_f) ); + } + inline float fmin(float _a, float _b) { return _a < _b ? _a : _b;