nergal
10-21-2002, 11:25 AM
How do I make just single lines in opengl?
I thought of making a sort wired plane with lines. like this (psuedo code):
for(0;i<=20;i++)
{
glBegin(GL_<???> ); //lines?
glVertex3f(0, i, 0);
glEnd();
}
Or how to do it? thanks.
I thought of making a sort wired plane with lines. like this (psuedo code):
for(0;i<=20;i++)
{
glBegin(GL_<???> ); //lines?
glVertex3f(0, i, 0);
glEnd();
}
Or how to do it? thanks.