void drawT()
{
glColor3f(1.0f, 1.0f, 1.0f); // GREEN RECTANGLE
glBegin(GL_LINE_LOOP); // It can be any type Gl_POINT,_LINE
glVertex2d(-10,10);
glVertex2d(10,10);
glVertex2d(10,7);
glVertex2d(3,7);
glVertex2d(3,0);
glVertex2d(-3,0);
glVertex2d(-3,7);
glVertex2d(-10,7);
glVertex2d(-10,10);
glEnd();
}
// call this function from display()
drawT();
Draw T in OpenGL
Join the discussion
1 previous comment
Ctgcgj [url=https://bestadalafil.com/]Cialis[/url] Achat Cialis Au Quebec Xegclx <a href="https://bestadalafil.com/">buying cheap cialis online</a> Qjmdun Cialis Online Billig Generic Doryx 100mg Bacterial Infections Direct Free Consultation https://bestadalafil.com/ - cialis online ordering Bojzhp change in structure and function of a cell as it matures specialization