POV-Ray : Newsgroups : povray.beta-test : Reverse_Array Bug : Re: Reverse_Array Bug Server Time
4 Nov 2024 13:46:20 EST (-0500)
  Re: Reverse_Array Bug  
From: Ron Parker
Date: 30 Sep 2001 11:49:42
Message: <slrn9refoo.8rk.ron.parker@fwi.com>
On Sun, 30 Sep 2001 10:21:38 +0200, Rune wrote:
>"Ron Parker" wrote:
>> #local N = dimension_size(Array, 1) - 1;  // <-- better correction
>
>Nope, then you'd have to change this line too:
>
>> >    #while(J < floor(N/2))
>
>To this:

#while (J <= floor(N/2))

seems better.

--
#macro R(L P)sphere{L __}cylinder{L P __}#end#macro P(_1)union{R(z+_ z)R(-z _-z)
R(_-z*3_+z)torus{1__ clipped_by{plane{_ 0}}}translate z+_1}#end#macro S(_)9-(_1-
_)*(_1-_)#end#macro Z(_1 _ __)union{P(_)P(-_)R(y-z-1_)translate.1*_1-y*8pigment{
rgb<S(7)S(5)S(3)>}}#if(_1)Z(_1-__,_,__)#end#end Z(10x*-2,.2)camera{rotate x*90}


Post a reply to this message

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