POV-Ray : Newsgroups : povray.advanced-users : Problems with trace() : Re: Problems with trace() Server Time
29 Jul 2024 00:34:40 EDT (-0400)
  Re: Problems with trace()  
From: Christoph Hormann
Date: 13 Jun 2003 12:16:07
Message: <3EE9F8C7.D3BBCB12@gmx.de>
"Tim Nikias v2.0" wrote:
> 
> Does it make a difference if I declare an array filled with objects
> like this:
> 
> #declare Object_List=array[3] { sphere{...},cylinder{},box{} }
> 
> or like this:
> #declare Object_List=array[3]
> #declare Object_List[1]=sphere{...}
> #declare Object_List[2]=cylinder{...}
> #declare Object_List[3]=box{...}

Don't you think you should better use:

#declare Object_List=array[3]
#declare Object_List[0]=sphere{...}
#declare Object_List[1]=cylinder{...}
#declare Object_List[2]=box{...}

???

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 28 Feb. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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