Function randomFloat

Function Documentation

inline float randomFloat(float min, float max)

Generate a random float number between min and max.

Parameters:
  • min – Contain the minimum value

  • max – Contain the maximum value

Returns:

float Return the random float number