mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-03-14 02:59:42 +01:00
rename
This commit is contained in:
parent
744d0f4681
commit
4d1b7c0c94
@ -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),
|
@ -1,3 +0,0 @@
|
||||
use <../__comm__/_convex_hull.scad>;
|
||||
|
||||
function convex_hull(points) = _convex_hull(points);
|
3
src/experimental/convex_hull2.scad
Normal file
3
src/experimental/convex_hull2.scad
Normal file
@ -0,0 +1,3 @@
|
||||
use <../__comm__/_convex_hull2.scad>;
|
||||
|
||||
function convex_hull2(points) = _convex_hull2(points);
|
@ -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));
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user