diff options
Diffstat (limited to 'src/base')
| -rw-r--r-- | src/base/math.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/math.h b/src/base/math.h index 1728870b..73e2fc98 100644 --- a/src/base/math.h +++ b/src/base/math.h @@ -20,7 +20,7 @@ inline float sign(float f) return f<0.0f?-1.0f:1.0f; } -inline int round(float f) +inline int round_to_int(float f) { if(f > 0) return (int)(f+0.5f); |