|
![](/i/fill.gif) |
In article <gr0uoucgievsj2oa80j8cuqner7e9j7ean@4ax.com> , ABX
<abx### [at] abx art pl> wrote:
> there is a lot of
> calls to compile_instruction() function in fncode.cpp where fourth parameter
> is 0. But for some strange reason three of them use 0.0 instead of 0
Oh, this is easy. It so happens that the constant table defines the
constant at array locaction "0" to be zero and the constant at array
locaction "1" to be one. For maximum clarity, replace it with
"POVFPU_AddConstant(0.0)", which will have the same effect.
Thorsten
____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trf de
Visit POV-Ray on the web: http://mac.povray.org
Post a reply to this message
|
![](/i/fill.gif) |