Shows how to use GLUT. Has minimal structure: only main() and a display callback. Draws only using glColor and glVertex within glBegin and glEnd in the display callback. Uses only the GL_POLYGON drawing mode. Illustrates glClear and glFlush. // A sim...
Markdown supported · ⌘↵ to post
No responses yet.