diff options
| author | mzuenni <michi.zuendorf@gmail.com> | 2023-01-10 11:40:09 +0100 |
|---|---|---|
| committer | mzuenni <michi.zuendorf@gmail.com> | 2023-01-10 11:40:09 +0100 |
| commit | fd1f2b36e95c03625297b7b8cba3b1a04a0cc0ed (patch) | |
| tree | b143619750b90fbfa45a98be9ea56904d1a7129d /geometry/segmentIntersection.cpp | |
| parent | 8faa84ca282d51e9ce4fef535e68325adabcebad (diff) | |
change whitespaces
Diffstat (limited to 'geometry/segmentIntersection.cpp')
| -rw-r--r-- | geometry/segmentIntersection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/geometry/segmentIntersection.cpp b/geometry/segmentIntersection.cpp index c2961da..14b9586 100644 --- a/geometry/segmentIntersection.cpp +++ b/geometry/segmentIntersection.cpp @@ -4,7 +4,7 @@ struct seg { bool operator<(const seg& o) const { if (real(a) < real(o.a)) { int s = orientation(a, b, o.a); - return (s > 0 || (s == 0 && imag(a) < imag(o.a)));// + return (s > 0 || (s == 0 && imag(a) < imag(o.a))); } else if (real(a) > real(o.a)) { int s = orientation(o.a, o.b, a); return (s < 0 || (s == 0 && imag(a) < imag(o.a))); @@ -25,7 +25,7 @@ struct event { bool lessPT(const pt& a, const pt& b) { return real(a) != real(b) ? real(a) < real(b) - : imag(a) < imag(b); + : imag(a) < imag(b); } bool intersect(const seg& a, const seg& b) { |
