OpenGL 3D Test written in C++