Searched refs:RandFlt (Results 1 - 5 of 5) sorted by relevance

/haiku/src/add-ons/screen_savers/flurry/
H A DStar.cpp47 s->position[i] = RandFlt(-10000.0, 10000.0);
49 s->rotSpeed = RandFlt(0.4, 0.9);
50 s->mystery = RandFlt(0.0, 10.0);
H A DShared.h57 #define RandFlt(min, max) (min + (max - min) * rand() / (float) RAND_MAX) macro
H A DFlurry.cpp247 fFlurryInfo->randomSeed = RandFlt(0.0, 300.0);
H A DSpark.cpp50 s->position[i] = RandFlt(-100.0, 100.0);
H A DSmoke.cpp80 s->old[i] = RandFlt(-100.0, 100.0);

Completed in 87 milliseconds