POV-Ray : Newsgroups : povray.beta-test : Reverse_Array Bug : Re: Reverse_Array Bug Server Time
4 Nov 2024 13:46:09 EST (-0500)
  Re: Reverse_Array Bug  
From: Rune
Date: 30 Sep 2001 04:25:00
Message: <3bb6d6dc@news.povray.org>
"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+1)/2))

Which doesn't seem any better to me.

Rune
--
3D images and anims, include files, tutorials and more:
Rune's World:    http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users:   http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk


Post a reply to this message

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