Rounds a float
| 571 | |
| 572 | // Rounds a float |
| 573 | inline float Round(float r) |
| 574 | { |
| 575 | return (r > 0.0f) ? std::floorf(r + 0.5f) : std::ceilf(r - 0.5f); |
| 576 | } |
| 577 | |
| 578 | // Returns a random float value between 0 and 1 |
| 579 | inline float RandFloat() |
nothing calls this directly
no outgoing calls
no test coverage detected