diff options
| author | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-04-15 02:41:45 +0200 |
|---|---|---|
| committer | Gloria Mundi <gloria@gloria-mundi.eu> | 2024-04-15 02:41:45 +0200 |
| commit | 2e0ba29cd0de1e88bed78a96f587613bcf3cc97c (patch) | |
| tree | 58d9c66487fe3fd5ab1d4224f06917f8d5546141 /geometry/linesAndSegments.cpp | |
| parent | 5f915f9035e0ff713b80a66be4f7e8407711acfe (diff) | |
typo fixes
Diffstat (limited to 'geometry/linesAndSegments.cpp')
| -rw-r--r-- | geometry/linesAndSegments.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/geometry/linesAndSegments.cpp b/geometry/linesAndSegments.cpp index c86b331..c3c09f7 100644 --- a/geometry/linesAndSegments.cpp +++ b/geometry/linesAndSegments.cpp @@ -31,7 +31,7 @@ vector<pt> lineSegmentIntersection(pt p0, pt p1, pt p2, pt p3) { return result; } -// Entfernung von Punkt p zur Gearden durch a-b. 2d und 3d +// Entfernung von Punkt p zur Geraden durch a-b. 2d und 3d double distToLine(pt a, pt b, pt p) { return abs(cross(p - a, b - a)) / abs(b - a); } |
