diff options
Diffstat (limited to 'geometry')
| -rw-r--r-- | geometry/formulars3d.cpp | 2 | ||||
| -rw-r--r-- | geometry/segmentIntersection.cpp | 2 | ||||
| -rw-r--r-- | geometry/sortAround.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
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<int, int> intersect(vector<seg>& 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<pt>& ps) { return left(a - p) > left(b - p);
return cross(p, a, b) > 0;
});
-}
\ No newline at end of file +}
|
