From: Burkhard P. <pl...@ip...> - 2004-10-01 10:21:48
|
Dennis Smit wrote: > (which also includes a > good pseudo random number gen, and while we add it, some nice range, > float random features. An EXTREMELY useful function would be something like int lv_random_decide(float p); which returns 1 with a propability of p (0.0 <= p <= 1.0) |