Tidying up some line-drawing issues in 3D rendering library. Still need to
handle the cases of degenerate lines, where only one pixel gets turned on, and
also need to handle the optimization of line-drawing, where the endpoints pairs
are given special attention w.r.t. z and color bounds, and the inner pixels
are rendered faster.