diff --git a/Quickhull.h b/Quickhull.h index ef4b029..c61d0db 100644 --- a/Quickhull.h +++ b/Quickhull.h @@ -63,7 +63,7 @@ private: // Find the point which is furthest away from the line, add it to the output Point furthest_point; - float furthest_distance = 0.0; + float furthest_distance = -1.0; for (const Point &point : input) {