|
|
> In article <3bade3d7@news.povray.org> , "Elias Pschernig"
> <eli### [at] aonat> wrote:
>
>> I downloaded beta3, and my scenes stopped working. I could track it down to
>> this: min and max seem to only use the first argument instead of comparing..
>
> Yes, this is a new bug that *only* happens if the there are constants in
> some functions line min and max. So the workaround is to use the calculated
> value instead of a function to find it. I know this won't workaround all
> cases, but it should for for a lot of cases.
To be more precise: All built-in function (not to confuse with the functions
in "functions.cin"!!!) that take more than one argument will return the
first argument if the first argument is constant. Further, radians and
degrees functions also return the input rather than the converted output if
the input is constant.
One workaround is to simply add i.e. "x-x+123" to replace "123". Of course,
this bug will be fixed in the next beta.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
|