diff options
Diffstat (limited to 'content')
| -rw-r--r-- | content/geometry/formulas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/geometry/formulas.cpp b/content/geometry/formulas.cpp index 5d4e10d..f724398 100644 --- a/content/geometry/formulas.cpp +++ b/content/geometry/formulas.cpp @@ -24,7 +24,7 @@ auto cross(pt p, pt a, pt b) {return cross(a - p, b - p);} // 1 => c links von a->b // 0 => a, b und c kolliniear // -1 => c rechts von a->b -int ccw(pt a, pt b, pt c) { +ll ccw(pt a, pt b, pt c) { auto orien = cross(b - a, c - a); return (orien > EPS) - (orien < -EPS); } |
