gl draw line rectangle

Solutions on MaxInterview for gl draw line rectangle by the best coders in the world

showing results for - "gl draw line rectangle"
Nathan
25 Nov 2018
1glBegin(GL_LINE_LOOP) ;
2    glVertex3f(0.0, 0.0, 0.0);
3    glVertex3f(0.0, 0.5, 0.0);
4    glVertex3f(0.5, 0.5, 0.0);
5    glVertex3f(0.5, 0.0, 0.0);
6glEnd() ;
7