POV-Ray : Newsgroups : povray.general : Is this a bug, or am I missing something? : Re: Is this a bug, or am I missing something? Server Time
6 Aug 2024 10:29:29 EDT (-0400)
  Re: Is this a bug, or am I missing something?  
From:
Date: 3 Apr 2002 14:39:59
Message: <uemmauca47t09qc6u28rjptcm9b745d84p@4ax.com>
On 3 Apr 2002 14:32:40 -0500, Warp <war### [at] tagpovrayorg> wrote:
>  The paramters to a macro are passed by reference, not by value.

I said it at first post in this thread. Hovewer this could be described somehow
in documentation.

ABX
--
disc{z,-z#macro O()asc(substr("-+((1*(,1,/.-,*/(,&.323/'1"e,1))*.1-4#declare
e=e-1;#end#local e=26;5pigment{#local g=function(_){ceil(_)-_}function#local
k=function{pattern{object{sphere_sweep{linear_spline 13#while(e)<O(),O()//35
>.01#end}}}}{k(g(atan2(x,y)),g(ln((y+x)^2+1e-5)),0)}}finish{ambient 1}}//ABX


Post a reply to this message

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