[School project] A basic 3D engine in C++