mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-20 21:41:41 +02:00
avoid name collision
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
function _sum(lt, leng, i = 0) =
|
function _convex_center_p_sum(lt, leng, i = 0) =
|
||||||
i == leng ? [0, 0, 0] : lt[i] + _sum(lt, leng, i + 1);
|
i == leng ? [0, 0, 0] : lt[i] + _convex_center_p_sum(lt, leng, i + 1);
|
||||||
|
@@ -2,4 +2,4 @@ use <experimental/_impl/_convex_center_p_impl.scad>;
|
|||||||
|
|
||||||
function convex_center_p(points) =
|
function convex_center_p(points) =
|
||||||
let(leng = len(points))
|
let(leng = len(points))
|
||||||
_sum(points, leng) / leng;
|
_convex_center_p_sum(points, leng) / leng;
|
Reference in New Issue
Block a user