|
![](/i/fill.gif) |
Alain <ele### [at] netscape net> wrote:
> sor{NbOfPoints,
> #local Index = 0;
> #while(Index < NbOfPoints - 1)
> VectorOfPoints[Index],
> #local Index = Index + 1;
> #end
> VectorOfPoints[Index] // No comma for last point
> texture{Texture}
> }
You don't need the commas at all. Besides, the number of points doesn't
need to be supplied explicitly.
And by the way, be so kind to not to teach bad habits to beginners by
giving as example badly-indented code.
sor
{
#local Amount = dimension_size(VectorOfPoints, 1);
Amount
#local Index = 0;
#while(Index < Amount)
VectorOfPoints[Index]
#local Index = Index+1;
#end
texture { Texture }
}
--
- Warp
Post a reply to this message
|
![](/i/fill.gif) |