inline round

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2354 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Lee Salzman
2008-08-22 20:40:42 +00:00
parent 11dba13932
commit 950c31f50d
2 changed files with 2 additions and 3 deletions
-2
View File
@@ -277,5 +277,3 @@ bool isbigendian()
return !(*((char *)(&one)));
}
float round(float x) { return floor(x + 0.5f); }