C++ / OpenGL custom game engine (learning purpose)