Mini software rendering 3D graphics by SDL