|
![](/i/fill.gif) |
clipka nous illumina en ce 2009-05-20 10:54 -->
> Alain <ele### [at] netscape net> wrote:
>> I also like the idea of been able to use a float as the seed. Providing a float,
>> like 1.0 would automaticaly sellect the new generator.
>
> Unfortunately, that's a no-go: POV-Ray's parser framework isn't designed to tell
> the difference between 1 and 1.0.
>
>
>
Bummer!
Another possibility:
If the seed is an integer, use the current generator.
If the seed value is a float, use the improved generator. Here, a float would be
deffined as any value that can't be represented as a 32 bits integer: to big or
having a fractional part.
Post a reply to this message
|
![](/i/fill.gif) |