Anonymous
public text v1 · immutable glLineWidth(2);
glEnable (GL_LINE_STIPPLE);
glLineStipple (1, -3644);
glBegin (GL_LINE_STRIP);
for(i= 0; i < 2; i++)
{
glColor3f(255,0, 0);
glVertex2f (-2.5 + (i * 5.0), -5.0);
}
glEnd();