summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoobie99 <noob999noob999@gmail.com>2023-05-16 13:11:02 +0200
committerNoobie99 <noob999noob999@gmail.com>2023-05-16 13:11:02 +0200
commitc778ffb21c86fde0e44ae5f300994eedc52bd23d (patch)
tree8784bd52b4b0752b7ef816dc2266c494e095e592
parent9e49119508787d618d6002526902cb6fa4e01f35 (diff)
fix (revert) comments
-rw-r--r--geometry/polygon.cpp4
-rw-r--r--tcr.pdfbin669186 -> 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
diff --git a/tcr.pdf b/tcr.pdf
index d42fa86..f2c835b 100644
--- a/tcr.pdf
+++ b/tcr.pdf
Binary files differ