Helper library (and example) for using OpenGL with C++