|
![](/i/fill.gif) |
I need a macro that outputs a random number between 0 and 1 when called. It
should have two integers as input. The reason I can't just use rand() and
seed() is that I need it to always output the same random number when the
same input numbers are used.
I need a macro like this: Rand (Int1, Int2)
I don't know anything about random number generators myself, so some help
would be much appreciated.
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
![](/i/fill.gif) |