Searched refs:RandBell (Results 1 - 3 of 3) sorted by relevance

/haiku/src/add-ons/screen_savers/flurry/
H A DShared.h58 #define RandBell(scale) (scale * (1.0f - (rand() + rand() + rand()) / ((float) RAND_MAX * 1.5f))) macro
H A DSpark.cpp291 s->position[0] = (float) tmpX4 + RandBell(5.0f*fieldCoherence);
292 s->position[1] = (float) tmpY4 + RandBell(5.0f*fieldCoherence);
293 s->position[2] = (float) tmpZ4 + RandBell(5.0f*fieldCoherence);
H A DSmoke.cpp128 + RandBell(0.25f * incohesion));
148 + RandBell(colorIncoherence));
151 + RandBell(colorIncoherence));
154 + RandBell(colorIncoherence));
156 = 0.85f * (1.0f + RandBell(0.5f*colorIncoherence));

Completed in 96 milliseconds