Home
last modified time | relevance | path

Searched refs:rand_max (Results 1 – 1 of 1) sorted by relevance

/haiku/src/tests/kits/game/ParticlesII/
H A DparticlesII.cpp290 uint32 rand_max = 0xffffffff; in MyCode() local
291 …particle_list[i].init_velocity = -((double)((rand_max>>1)+(random()%(rand_max>>1)))/rand_max)*3.33… in MyCode()
292 …particle_list[i].gravity = -(((double)((rand_max>>1)+(random()%(rand_max>>1)))/rand_max))*0.599; /… in MyCode()