POV-Ray : Newsgroups : povray.general : Disc which is not flat : Re: scale by 0 (was Re: Disc which is not flat) Server Time
7 Aug 2024 11:20:46 EDT (-0400)
  Re: scale by 0 (was Re: Disc which is not flat)  
From:
Date: 3 Dec 2001 11:32:14
Message: <72an0ukjp91j2d1eh2fd33q4gchj1n6sk5@4ax.com>
On Mon, 3 Dec 2001 11:02:42 -0500, "Trevor Quayle" <Tin### [at] hotmailcom>
wrote:
> Also what would be the difference between
> #local s=s*<1,1,1>
> and
> #local s=s+<0,0,0>
> ?

You want put floats and vectors into this just like scale accept, right ?
But I'm not sure multiplication Vector*<1,1,1> is defined. I can't check it
becouse limitation of current 3.5 beta.

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)|_((x+y)*.7,z,.1)|_((x+y+2)*.7,z,.1)|_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.