summaryrefslogtreecommitdiff
path: root/geometry/circle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'geometry/circle.cpp')
-rw-r--r--geometry/circle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/circle.cpp b/geometry/circle.cpp
index fd52a0b..f48e09a 100644
--- a/geometry/circle.cpp
+++ b/geometry/circle.cpp
@@ -9,7 +9,7 @@ vector<pt> circleIntersection(pt c1, double r1,
if (d == abs(r1 - r2) || d == abs(r1 + r2)) return {p};
double h = sqrt(r1 * r1 - a * a);
return {p + pt{0, 1} * (c2 - c1) * h / d,
- p - pt{0, 1} * (c2 - c1) * h / d};
+ p - pt{0, 1} * (c2 - c1) * h / d};
}
// berechnet die Schnittpunkte zwischen