From 54946c9945857e42b8eb4025a66d3344bd53f07c Mon Sep 17 00:00:00 2001 From: MZuenni Date: Mon, 13 Feb 2023 16:46:09 +0100 Subject: reformatted lineendings --- geometry/formulars3d.cpp | 2 +- geometry/segmentIntersection.cpp | 2 +- geometry/sortAround.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'geometry') diff --git a/geometry/formulars3d.cpp b/geometry/formulars3d.cpp index 65aba4a..84e17c0 100644 --- a/geometry/formulars3d.cpp +++ b/geometry/formulars3d.cpp @@ -50,4 +50,4 @@ double lineLineDist(pt3 a, pt3 b, pt3 c, pt3 d) { pt3 n = cross(b - a, d - c); if (abs(n) < EPS) return distToLine(a, b, c); return abs(dot(a - c, n)) / abs(n); -} \ No newline at end of file +} diff --git a/geometry/segmentIntersection.cpp b/geometry/segmentIntersection.cpp index 14b9586..b2e3ac4 100644 --- a/geometry/segmentIntersection.cpp +++ b/geometry/segmentIntersection.cpp @@ -60,4 +60,4 @@ pair intersect(vector& segs) { } } return {-1, -1}; -} \ No newline at end of file +} diff --git a/geometry/sortAround.cpp b/geometry/sortAround.cpp index c5e4ebd..86fead7 100644 --- a/geometry/sortAround.cpp +++ b/geometry/sortAround.cpp @@ -7,4 +7,4 @@ void sortAround(pt p, vector& ps) { return left(a - p) > left(b - p); return cross(p, a, b) > 0; }); -} \ No newline at end of file +} -- cgit v1.2.3