POV-Ray : Newsgroups : povray.general : Is this a bug, or am I missing something? : Re: Is this a bug, or am I missing something? Server Time
6 Aug 2024 10:26:25 EDT (-0400)
  Re: Is this a bug, or am I missing something?  
From: Warp
Date: 3 Apr 2002 14:30:36
Message: <3cab585b@news.povray.org>
Shay <sah### [at] simcopartscom> wrote:
> #macro Persistence_Of_Dimension (ARRAY)
>  #local Array_Size = dimension_size (ARRAY, 1) + 1;
>  #local ARRAY = array[Array_Size]

>  #write (Test_Out, Array_Size, "\n")
> #end // #macro Persistence_Of_Dimension (ARRAY)

  You are modifyind the size of the array given as parameter.
  That's the designed behaviour. (Note that I used the word "designed",
not "correct".)

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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