|
|
On Mon, 17 Sep 2001 15:37:14 -0400, Thorsten Froehlich wrote:
>In article <Wme### [at] econymdemoncouk> , Mike Williams
><mik### [at] nospamplease> wrote:
>
>> So what do we do if we really want "int()"?
>
>Actually, could you list the differences between "int" and "floor"?
I think the difference is the behavior for negative numbers:
int(-1.5) is -1, but floor(-1.5) is -2.
--
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions
Post a reply to this message
|
|