bresenham/README.md

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.