A software-based 3D renderer written in C