POV-Ray : Newsgroups : povray.advanced-users : Keeping objects spaced enough using Array? : Re: Keeping objects spaced enough using Array? Server Time
29 Jul 2024 18:26:22 EDT (-0400)
  Re: Keeping objects spaced enough using Array?  
From: Warp
Date: 25 Mar 2002 09:15:12
Message: <3c9f30ef@news.povray.org>
Ron Parker <ron### [at] povrayorg> wrote:
> #declare A=array[5] {1, 2, 3, 4, 5}
> #declare B=array[10] A

  That would be a really nice feature because resizing an array internally
is probably about 100 to 1000 times faster than doing it with SDL.

  Another possibility is just adding a function: resize_array(A, 10)
(I think it might be better this way.)

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


Post a reply to this message

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