POV-Ray : Newsgroups : povray.advanced-users : Keeping objects spaced enough using Array? : Re: Keeping objects spaced enough using Array? Server Time
29 Jul 2024 18:23:00 EDT (-0400)
  Re: Keeping objects spaced enough using Array?  
From: Thorsten Froehlich
Date: 25 Mar 2002 05:06:10
Message: <3c9ef692@news.povray.org>
Actually, the following at least seems to work.  Of course, I have not checked
if it doesn't corrupt any internal data:

    #declare foo = array[40];

    #declare foo[1] = array[10];
    #declare foo[2] = array[5];

    #declare foo[1][5] = 5.0;

As far as I can tell this is, together with the ability to undef arrays
sufficient to build linked structures...


    Thorsten


____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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