removed inlined round()
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2353 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -277,5 +277,5 @@ bool isbigendian()
|
||||
return !(*((char *)(&one)));
|
||||
}
|
||||
|
||||
inline float round(float x) { return floor(x + 0.5f); }
|
||||
float round(float x) { return floor(x + 0.5f); }
|
||||
|
||||
|
||||
+1
-1
@@ -508,7 +508,7 @@ extern bool cmpb(void *b, int n, enet_uint32 c);
|
||||
extern bool cmpf(char *fn, enet_uint32 c);
|
||||
extern void endianswap(void *, int, int);
|
||||
extern bool isbigendian();
|
||||
extern inline float round(float x);
|
||||
extern float round(float x);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user