POV-Ray : Newsgroups : povray.newusers : Newbie question about functions : Re: Newbie question about functions Server Time
2 Jul 2024 21:29:03 EDT (-0400)
  Re: Newbie question about functions  
From: Sherry Shaw
Date: 20 Dec 2010 16:19:07
Message: <4d0fc84b$1@news.povray.org>
Warp wrote:
> 
>   You can name function parameters as you like.
> 

Just wondered if perhaps he was using the function in a context where x 
and y might be expected (as in an isosurface, for example), as opposed 
to explicitly passing two parameters.

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

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