7 Commits

Author SHA1 Message Date
c0bba8b264 Add temp workaround for rectangle
Getting both rectangle sides to work as intended is tricky. This works, but should be replaced with something better.
2020-11-29 01:27:59 +01:00
b9fd11ca0d Fix bug where distance would be too close to 0 to register
the furthest_distance now starts at -1 instead of 0 - if there's a point with a distance of 0, that's fine.

This caused issues in the circle previously.
2020-11-29 01:01:03 +01:00
535d912742 Likely performance improvement by limiting points
Instead of just deleting points in the triangle, we only check specific ones which are relevant
2020-11-28 23:58:17 +01:00
79111d184b Finish Quickhull functionality + basic test
The performance mode, which I'm working on, can now be tested with `make performance && ./performance`.

A very simple test was added, and it works!
2020-11-28 22:21:48 +01:00
acfb3a4500 More Quickhull implementation; add Triangle class 2020-11-28 21:11:32 +01:00
d1d170f558 Some work on Quickhull
Also added basic arithmetic to Point, and a class for a Line
2020-11-28 20:47:52 +01:00
cb4d223780 Add outline for Quickhull algorithm
Mostly comments for now
2020-11-23 22:57:30 +01:00