You're better off checking out the converted nehe tutorials, and the opengl RedBook(freeware online these days) to learn gl than isolated pieces of source code. It's a big subject.
Code gets too messy and looks nasty(imo) if you comment it too much. Not that any of the beta progs are mine, but anyway..
Code gets too messy and looks nasty(imo) if you comment it too much. Not that any of the beta progs are mine, but anyway..