Answers for "gl draw line rectangle"

C++
1

gl draw line rectangle

glBegin(GL_LINE_LOOP) ;
    glVertex3f(0.0, 0.0, 0.0);
    glVertex3f(0.0, 0.5, 0.0);
    glVertex3f(0.5, 0.5, 0.0);
    glVertex3f(0.5, 0.0, 0.0);
glEnd() ;
Posted by: Guest on August-14-2021

Browse Popular Code Answers by Language