sneak/Shared
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
..
Camera.cs Camera.Update: remove unused time parameter 2020-02-13 14:50:32 -05:00
Debug.cs capitalize struct field names 2020-02-13 14:50:47 -05:00
FpsCounter.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
History.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
IDisplay.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
Input.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
LICENSE.txt Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
Line.cs Implement Bresenham's algorithm for line rasterization. 2020-02-13 14:50:53 -05:00
Player.cs Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
Shared.projitems Implement Bresenham's algorithm for line rasterization. 2020-02-13 14:50:53 -05:00
Shared.shproj Revert "Add .gitignore and .gitattributes." 2020-02-13 14:50:24 -05:00
SneakGame.cs make Toasts a list & implement FPS counter as a toast 2020-02-13 14:50:39 -05:00
World.cs add 1-space gap so that i can test bug #4 2020-02-13 14:50:43 -05:00