mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-09 08:16:50 +02:00
refactor
This commit is contained in:
@@ -3,7 +3,7 @@ use <_convex_intersection.scad>;
|
|||||||
function _convex_intersection_for_impl(shapes, pre, leng, i = 2) =
|
function _convex_intersection_for_impl(shapes, pre, leng, i = 2) =
|
||||||
i == leng ? pre :
|
i == leng ? pre :
|
||||||
let(r = _convex_intersection(pre, shapes[i]))
|
let(r = _convex_intersection(pre, shapes[i]))
|
||||||
r == [] ? []
|
r == [] ? r
|
||||||
: _convex_intersection_for_impl(shapes,
|
: _convex_intersection_for_impl(shapes,
|
||||||
r,
|
r,
|
||||||
leng, i + 1
|
leng, i + 1
|
||||||
|
Reference in New Issue
Block a user