#pragma once #include "vde/core/point.h" #include namespace vde::core { /// 2D convex hull — Graham scan, O(n log n) std::vector convex_hull_2d(const std::vector& points); /// 3D convex hull — QuickHull /// Returns triangles of the hull (counter-clockwise when viewed from outside) std::vector> convex_hull_3d(const std::vector& points); } // namespace vde::core