Commit Graph

11 Commits

Author SHA1 Message Date
f10e0a689f migrate all tests to xunit 2020-11-18 14:03:19 -05:00
b15a376244 SharedTests: depend on MonoGame 3.8 2020-11-18 11:59:24 -05:00
fea3eedb4f Update MSTest versions. 2020-07-14 11:51:58 -04:00
4bcb0d9b95 fix SharedTests references to JSON library. 2020-03-04 15:16:13 -05:00
ab2a57d632 update LangVersion=latest in all projects
GitOrigin-RevId: 197405574e498367ed719f81216ebbb23bb89ab0
2020-02-24 19:02:04 -05:00
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
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
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