Searched refs:rand_max (Results 1 – 1 of 1) sorted by relevance
290 uint32 rand_max = 0xffffffff; in MyCode() local291 …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()