My attempt at making an C++ engine with OpenGL