diff options
| author | Noobie99 <noob999noob999@gmail.com> | 2023-05-16 13:11:02 +0200 |
|---|---|---|
| committer | Noobie99 <noob999noob999@gmail.com> | 2023-05-16 13:11:02 +0200 |
| commit | c778ffb21c86fde0e44ae5f300994eedc52bd23d (patch) | |
| tree | 8784bd52b4b0752b7ef816dc2266c494e095e592 | |
| parent | 9e49119508787d618d6002526902cb6fa4e01f35 (diff) | |
fix (revert) comments
| -rw-r--r-- | geometry/polygon.cpp | 4 | ||||
| -rw-r--r-- | tcr.pdf | bin | 669186 -> 669187 bytes |
2 files changed, 2 insertions, 2 deletions
diff --git a/geometry/polygon.cpp b/geometry/polygon.cpp index 6738ab2..e3ce33e 100644 --- a/geometry/polygon.cpp +++ b/geometry/polygon.cpp @@ -94,7 +94,7 @@ double dist(const vector<pt>& ps, const vector<pt>& qs) { bool left(pt of, pt p) {return cross(p, of) < 0 || (cross(p, of) == 0 && dot(p, of) > 0);} -// convex hulls without duplicates, hull[0] != hull.back() and +// convex hulls without duplicates, hull[0] == hull.back() and // hull[0] must be a convex point (with angle < pi) // returns index of corner where dot(dir, corner) is maximized int extremal(const vector<pt>& hull, pt dir) { @@ -114,7 +114,7 @@ int extremal(const vector<pt>& hull, pt dir) { return r; } -// convex hulls without duplicates, hull[0] != hull.back() and +// convex hulls without duplicates, hull[0] == hull.back() and // hull[0] must be a convex point (with angle < pi) // {} if no intersection // {x} if corner is only intersection Binary files differ |
