SyntaxFix
Write A Post
Hire A Developer
Questions
This generates a random float between two floats.
float RandomFloat(float min, float max){ return ((max - min) * ((float)rand() / RAND_MAX)) + min; }