in news:Xns### [at] povrayorg ingo wrote:
> Expected the outcome of the scene below to be te other way around.
>
Also '<=' does not seem to behave as one would expect.
//a= -2 -1 0 1 1
//------------------
//#declare F=function(a){a>=0} //returns 0 0 1 1 1
#declare F=function(a){a<=0} //returns 1 1 0 0 0
//expected 1 1 1 0 0
Ingo
--
Photography: http://members.home.nl/ingoogni/
Pov-Ray : http://members.home.nl/seed7/
Post a reply to this message
|