mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-02-24 09:33:26 +01:00
avoid name collision
This commit is contained in:
parent
2a8ed85596
commit
76cdc85635
@ -1,2 +1,2 @@
|
||||
function _sum(lt, leng, i = 0) =
|
||||
i == leng ? [0, 0, 0] : lt[i] + _sum(lt, leng, i + 1);
|
||||
function _convex_center_p_sum(lt, leng, i = 0) =
|
||||
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) =
|
||||
let(leng = len(points))
|
||||
_sum(points, leng) / leng;
|
||||
_convex_center_p_sum(points, leng) / leng;
|
Loading…
x
Reference in New Issue
Block a user