POV-Ray : Newsgroups : povray.general : Easy array question : Easy array question Server Time
7 Aug 2024 13:19:34 EDT (-0400)
  Easy array question  
From: Reusser
Date: 10 Sep 2001 19:25:54
Message: <100920011822245956%reu1000@chorus.net>
I feel like I must be missing something.  Why does pov not like the
last line?  It gives me the error, "attempted to redefine float
identifier as vector identifier."  It seems like there should be a way
to do this, but I'm not seeing it.


#declare blank_array1 = array[2]{<1,1,1>,<2,3,4>}
#declare blank_array = array[3]
#declare blank_array[0] = 0;
#declare blank_array[1] = blank_array[0] + 1;
#declare blank_array[2] = <1,2,3>;


Post a reply to this message

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