POV-Ray : Newsgroups : povray.beta-test : Reverse_Array Bug : Re: Reverse_Array Bug Server Time
30 Jul 2024 20:18:49 EDT (-0400)
  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.