View | Details | Raw Unified | Return to bug 208754 | Differences between
and this patch

Collapse All | Expand All

(-)games/assaultcube/files/patch-source_src_tools.h (+11 lines)
Line 0 Link Here
1
--- source/src/tools.h.orig	2013-10-22 20:57:19.000000000 +0200
2
+++ source/src/tools.h	2016-04-12 20:40:13.105181000 +0200
3
@@ -55,8 +55,6 @@ static inline T min(T a, T b)
4
     return a < b ? a : b;
5
 }
6
 
7
-static inline float round(float x) { return floor(x + 0.5f); }
8
-
9
 #define clamp(a,b,c) (max(b, min(a, c)))
10
 #define rnd(x) ((int)(randomMT()&0xFFFFFF)%(x))
11
 #define rndscale(x) (float((randomMT()&0xFFFFFF)*double(x)/double(0xFFFFFF)))

Return to bug 208754