POV-Ray : Newsgroups : povray.beta-test : Arrays.inc question : Re: Arrays.inc question Server Time
30 Jul 2024 20:28:30 EDT (-0400)
  Re: Arrays.inc question  
From: Warp
Date: 2 Oct 2001 20:12:26
Message: <3bba57ea@news.povray.org>
Anders K. <and### [at] f2scom> wrote:
: IMO, a better solution would be to optionally allow semicolons in the
: language when declaring things other than floats or vectors!

  I agree. Making generic macros which work with any item types is an
extremely good reason to add this.

-- 
#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.