You have to reset count2 within the first #while-loop. It is at 26 after the
first loop an remains there.
Todd Taylor schrieb in Nachricht <39b027fe$1@news.povray.org>...
>#declare grout_size=.05;
>#declare TileWidth=2;
>#declare RoundEdgeWidth=.05;
>#declare Count1=-25;
>#declare Count2=-25;
>
>#while (Count1<=25)
> #while (Count2<=25)
> object { Tile
> translate
><Count1*(1.5*TileWidth+2*grout_size+2*RoundEdgeWidth),0,Count2*(sqrt(3)+2*g
r
>out_size+2*RoundEdgeWidth)>
> }
> #declare Count2=Count2+1;
> #end
> #declare Count1=Count1+1;
>#end
>
Post a reply to this message
|