Upgraded my 3D engine (from my previous project). Now with zooming by scrolling the mouse. Arrow keys for rotation. This time the object is a full-fledged standard cube.
Fixed axis of rotation problem (Though actually it was caused because the previous object was off-center. It is hard to see it, though). Comment if you want me to make more interesting 3D objects with this engine!