mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-23 23:03:23 +02:00
add convex_center_p
This commit is contained in:
5
src/experimental/convex_center_p.scad
Normal file
5
src/experimental/convex_center_p.scad
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
use <experimental/_impl/_convex_center_p_impl.scad>;
|
||||||
|
|
||||||
|
function convex_center_p(points) =
|
||||||
|
let(leng = len(points))
|
||||||
|
_sum(points, leng) / leng;
|
Reference in New Issue
Block a user