Fixed fround.

This commit is contained in:
Branimir Karadžić
2015-08-01 23:20:11 -07:00
parent c09c6006b7
commit c8482b3cff

View File

@@ -31,7 +31,7 @@ namespace bx
inline float fround(float _f)
{
return float(int(_f) );
return floorf(_f + 0.5f);
}
inline float fmin(float _a, float _b)