5 lines
212 B
Plaintext
5 lines
212 B
Plaintext
Bresenham is one of the canonical line drawing algorithms for
|
|
pixellated grids. Given a start and an end-point, Bresenham
|
|
calculates which points on the grid need to be filled to generate
|
|
the line between them.
|