Opening book details…
Can I read OpenGL: Bandeira, Cubo, Pirâmide Code on EtoBox?
OpenGL: Bandeira, Cubo, Pirâmide Code by deisenevescosta is a document available to read on EtoBox.
What is OpenGL: Bandeira, Cubo, Pirâmide Code about?
The document contains code to draw 2D shapes using OpenGL including a flag, cube, pyramid, and triangle. It defines functions to initialize the window and display callback, draw the shapes by specifying vertices and colors, and includes a main function to initialize GLUT and enter the main loop. The flag drawing uses GL_QUADS and GL_POLYGON primitives and the cube, pyramid, and triangle use GL_LINE_LOOP and GL_TRIANGLES.
- Author
- deisenevescosta
- Language
- EN