Evan Burkey c6af75fea4 | ||
---|---|---|
.gitignore | ||
.gitlab-ci.yml | ||
LICENSE | ||
README.md | ||
bresenham.go | ||
bresenham_test.go | ||
go.mod | ||
go.sum |
README.md
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.