Virtually draw a line from (x1, y1) to (x2, y2) using Bresenham algorithm, returning the coordinates of the points that would belong to the line.
(Array of couples forming the line) Eg: array(array(2,100), array(3, 101), array(4, 102), array(5, 103)) Public domain Av'tW
Generated using TypeDoc
Virtually draw a line from (x1, y1) to (x2, y2) using Bresenham algorithm, returning the coordinates of the points that would belong to the line.