Example Program: box.cc

The function call glColor4fv( red ) refers to the first OpenGL function we've seen. Notice that it begins with gl just like all the GLUT functions we saw began with glut.

The name of the function ends with 4fv: