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