Computes a floating-point pseudo-random number. Returns value in the range 0..1, with the precision 1/D3_RAND_MAX
| 91 | // Computes a floating-point pseudo-random number. |
| 92 | // Returns value in the range 0..1, with the precision 1/D3_RAND_MAX |
| 93 | static float randf() { return ((float)ps_rand()) / ((float)D3_RAND_MAX); } |
| 94 | |
| 95 | // Process an Ambient Sound Pattern |
| 96 | static void ProcessASP(asp *asp) { |
no test coverage detected