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:
driAn
2008-08-22 20:04:54 +00:00
parent 979b70ea78
commit 11dba13932
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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