Factored out and commented up the OpenGL parts of the geometric object.