Gaming Opengl c++ class