Simple 3D game engine in C++ and OpenGL