#include <GL/glut.h> void display() { glClear(GL_COLOR_BUFFER_BIT); glColor3f(1.0,1.0,0.0); glBegin(GL_QUAD_STRIP); glVertex3f(0.2, 0.2,0.0); glVertex3f(0.8, 0.2,0.0); glVertex3f(0.2,0.4,0.0); glVertex3f(0.8,0.4,0.0); glVertex3f(0.2,0.8,0.0); glVertex3f(0.8,0.8,0.0); glEnd(); glFlush(); } void init() { glClearColor(0.0,0.5,0.2,0.8); } int main(int argc, char** argv) { glutCreateWindow("simple 3D"); glutDisplayFunc(display); init(); glutMainLoop(); }
The education is necessary because through this you become an expert and get acknowledge about different important aspects. DumpsTool products contain information that has been extracted from authentic and reliable sources. PSE-Strata Cheat Sheet Questions Answers offer you updated knowledge about all the contents of the syllabus and will enable you to pass it with flying colors. If you need to go through the entire syllabus and learn each and every topic, choose our Study Guides that equip you with the best knowledge.
ReplyDelete