bresenham/README.md

7 lines
212 B
Markdown
Raw Permalink Normal View History

2022-05-17 16:20:48 +00:00
# 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.