My attempt at making a C++ engine with OpenGL