mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Fixed fround.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user