1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-03-14 02:59:42 +01:00
This commit is contained in:
Justin Lin 2020-10-05 14:14:47 +08:00
parent 744d0f4681
commit 4d1b7c0c94
4 changed files with 6 additions and 6 deletions

View File

@ -58,7 +58,7 @@ function _convex_hull_upper_chain(points, chain, m, t, i) =
i - 1
);
function _convex_hull(points) =
function _convex_hull2(points) =
let(
sorted = _convex_hull_sort_by_xy(points),
leng = len(sorted),

View File

@ -1,3 +0,0 @@
use <../__comm__/_convex_hull.scad>;
function convex_hull(points) = _convex_hull(points);

View File

@ -0,0 +1,3 @@
use <../__comm__/_convex_hull2.scad>;
function convex_hull2(points) = _convex_hull2(points);

View File

@ -1,5 +1,5 @@
use <../__comm__/_convex_hull.scad>;
use <../__comm__/_convex_hull2.scad>;
module polygon_hull(points) {
polygon(_convex_hull(points));
polygon(_convex_hull2(points));
}