5 lines
92 B
C++
5 lines
92 B
C++
#include "utils.h"
|
|
|
|
float util::random(float range){
|
|
return float(rand())/RAND_MAX*range;
|
|
} |