Returns integer from min inclusive to max exclusive */
| 89 | CC_API float Random_Float(RNGState* rnd); |
| 90 | /* Returns integer from min inclusive to max exclusive */ |
| 91 | static CC_INLINE int Random_Range(RNGState* rnd, int min, int max) { |
| 92 | return min + Random_Next(rnd, max - min); |
| 93 | } |
| 94 | |
| 95 | CC_END_HEADER |
| 96 | #endif |
no test coverage detected