by Chris Forone <4one@[EMAIL PROTECTED]
>
Aug 27, 2008 at 10:07 AM
Flark schrieb:
> Hi folks,
>
> I was wonder, if I need to draw a series of lines
> each of which is a different color, does GL_LINE_STRIP
> allow that?
>
> Thanks.
glBegin(GL_LINE_STRIP);
glVertex(...);
glColor(...); // first line color
glVertex(...); //
glColor(...); // second line color
glVertex(...);
...
...
glEnd();