mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-18 04:53:06 +01:00
Added fround.
This commit is contained in:
@@ -26,6 +26,11 @@ namespace bx
|
||||
return _rad * 180.0f / pi;
|
||||
}
|
||||
|
||||
inline float fround(float _f)
|
||||
{
|
||||
return float(int(_f) );
|
||||
}
|
||||
|
||||
inline float fmin(float _a, float _b)
|
||||
{
|
||||
return _a < _b ? _a : _b;
|
||||
|
||||
Reference in New Issue
Block a user