sneak/SharedTests
Colin McMillen bba9f643eb Implement Bresenham's algorithm for line rasterization.
This is implemented as a static Line.Rasterize(Point p1, Point p2) function
that returns an array of Points. There's also a Line.Rasterize(x1, y1, x1, y2)
version for convenience.

Unit tests included.

GitOrigin-RevId: 525098f8c76c6c3d1a6ff2c32fa2206cff080a11
2020-02-13 14:50:53 -05:00
..
Properties Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
HistoryTests.cs remove unused using 2020-02-13 14:50:50 -05:00
LineTests.cs Implement Bresenham's algorithm for line rasterization. 2020-02-13 14:50:53 -05:00
packages.config Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
SharedTests.csproj Implement Bresenham's algorithm for line rasterization. 2020-02-13 14:50:53 -05:00