summaryrefslogtreecommitdiff
path: root/geometry
diff options
context:
space:
mode:
Diffstat (limited to 'geometry')
-rw-r--r--geometry/formulas.cpp2
-rw-r--r--geometry/linesAndSegments.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/geometry/formulas.cpp b/geometry/formulas.cpp
index e34b3c6..22e9e32 100644
--- a/geometry/formulas.cpp
+++ b/geometry/formulas.cpp
@@ -34,7 +34,7 @@ bool isCoplanar(pt a, pt b, pt c, pt d) {
return abs((b - a) * (c - a) * (d - a)) < EPS;
}
-// identifiziert winkel zwischen Vektoren u und v
+// charakterisiert winkel zwischen Vektoren u und v
pt uniqueAngle(pt u, pt v) {
pt tmp = v * conj(u);
ll g = abs(gcd(real(tmp), imag(tmp)));
diff --git a/geometry/linesAndSegments.cpp b/geometry/linesAndSegments.cpp
index c3c09f7..98fe4dc 100644
--- a/geometry/linesAndSegments.cpp
+++ b/geometry/linesAndSegments.cpp
@@ -36,7 +36,7 @@ double distToLine(pt a, pt b, pt p) {
return abs(cross(p - a, b - a)) / abs(b - a);
}
-// Projektiert p auf die Gerade a-b
+// Projiziert p auf die Gerade a-b
pt projectToLine(pt a, pt b, pt p) {
return a + (b - a) * dot(p - a, b - a) / norm(b - a);
}