So I'm taking a computer graphics course in openGL right now, and for the first lab we are to among other things implement three line drawing routines. First off a normal DDA algorithm, that's easy..
Bresenham's line algorithm is a line drawing algorithm that determines the points of an n-dimensional raster that should be selected in order to form a close approximation to a straight line between ...
On the Bresenham algorithm as implemented by Marlin: (Taken from (https://www.cs.helsinki.fi/group/goa/mallinnus/lines/bresenh.html) The basic Bresenham algorithm ...