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 widely used method in computer graphics for drawing a straight line between two given points. It is an optimized approach that relies solely on integer arithmetic, ...
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 ...