Files
bresenham/README.md
2022-05-17 09:20:48 -07:00

212 B

Bresenham

A quick generic implementation of Bresenham's Line Algorithm.

Usage

Arguments are constrained to signed types. The line is returned as a slice of type Point[T], a type provided by the library.