Chapter 4 programs glutcube.c: displays the GLUT wire frame cube, but can be used to display any of the GLUT objects by changing a single line in the display callback. arraycube.c: displays the cube through a vertex list. vertexarraycube.c: displays the cube using OpenGL vertex arrays.