POV-Ray : Newsgroups : povray.general : #macro question : Re: #macro question Server Time
7 Aug 2024 09:21:57 EDT (-0400)
  Re: #macro question  
From: Warp
Date: 11 Oct 2001 11:49:31
Message: <3bc5bf8b@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
:>  As a programmer I would interpret that in the way that a temporary

: Except that's not actually how it's implemented.  A local is created in
: both cases, but in one case it's a local of type "reference to parameter" 
: and in the other case it's a local of type "floating point value."

  That's why I said "I would interpret"... ;)

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

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