|
![](/i/fill.gif) |
"danyolgiax" <d.o### [at] gmail com> wrote in message
news:web.445a5ff0bea7939358dbbb6b0@news.povray.org...
> Is this the only way to set a default value?
>
> #declare numBuildings=12;
> #declare contatore=0;
> #declare noRender=array[numBuildings];
>
> #while (contatore<numBuildings)
>
> #declare noRender[contatore]=1;
> #declare contatore=contatore+1;
>
> #end
>
or
#declare noRender=array[numBuildings] {1,1,1,1,1,1,1,1,1,1,1,1};
This is good for small arrays, but can be tedious for large arrays.
-tgq
Post a reply to this message
|
![](/i/fill.gif) |