summaryrefslogtreecommitdiff
path: root/src/Random.cxx
blob: 62c53a3496f6c239384606216f1d1ea01eb10ee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
namespace PluggIt {

class Random
{
     public static float nextFloat( float min, float max ) {
          return min + rand() * (max - min) / (float) RAND_MAX;
     }
};

}