[−][src]Function pathfinder::tools::plot_bresenham
pub fn plot_bresenham(from: Coordinate, to: Coordinate) -> Vec<Coordinate>
Draws a line between two coordinate points. Derived from: https://en.wikipedia.org/wiki/Bresenham%27s_line_algorithm
Panics
from.x == to.x