878d434b22
Add code for intersecting axis-aligned bounding boxes with segments & each other
...
GitOrigin-RevId: 99a855c1a813c0fcdd4fca0fd31456b62e964abb
2020-02-13 14:52:07 -05:00
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
252fe5b243
remove unused using
...
GitOrigin-RevId: 1584816927db6030172d5b762782d249ccd6aa0c
2020-02-13 14:50:50 -05:00
ae8fa0d21d
Revert "Add .gitignore and .gitattributes."
...
This reverts commit 5c9f574644ecd78b112ea857d658f670ef4773e3.
GitOrigin-RevId: 277054282d105e4a5f185ac51983581c89b8a031
2020-02-13 14:50:24 -05:00
cb1b78b875
Add .gitignore and .gitattributes.
...
GitOrigin-RevId: 5c9f574644ecd78b112ea857d658f670ef4773e3
2020-02-13 14:50:20 -05:00
f6f25144b6
SharedTests: don't depend on specific MonoGame version
...
GitOrigin-RevId: d30010bbacd2ae06bf6ca0055b39c29260682e29
2020-02-13 14:50:16 -05:00
cc37561076
run dos2unix on all source files
...
GitOrigin-RevId: c65ff59d86415057167f600d1c31545b1ff0b49b
2020-02-13 14:49:30 -05:00
960521a6e0
History: add ToArray() method to make tests cleaner
...
GitOrigin-RevId: 5bbf5be614ed6c2d9884ac924ab627ccaa57e355
2020-02-13 14:49:26 -05:00
ab692f94a7
Add unit tests for History class.
...
Also introduce .editorconfig file and update .csproj files.
GitOrigin-RevId: 60369ee53b0fe53135f4c2b7403284eabced3755
2020-02-13 14:49:19 -05:00