|
![](/i/fill.gif) |
"clipka" <nomail@nomail> wrote:
> "Slime" <fak### [at] email address> wrote:
> > > The #if clause is necessary because the last vector statement must not be
> > > followed by a comma.
> >
> > In most cases in POV-Ray, an extra comma is permitted at the end of a list.
> >
> > If that isn't the case for meshes, you can still go with the simpler
> >
> > <(a+1)*800+b, (a+1)*800+b+1, a*800+b+1>
> > #if ( b != 798 | a != 398 )
> > ,
> > #end
> >
> > which doesn' t look like there's some crazy weird special case.
>
> Another possibility would be to just add a "dead" vector to the end of the list
> ;)
....or put the comma before the vector, so each vector supplies the comma for the
previous one, and the first one supplies the comma after the initial vector
total.
Post a reply to this message
|
![](/i/fill.gif) |