Hey, this is my first pen 3d engine, my dad did the maths cause im a mortal. Use arrows keys to rotate the cube
For this project, i used rotation matrix to rotate the cube(Wikipedia if you want to know more)