mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-06 15:36:32 +02:00
Update geometry.scad
This commit is contained in:
@@ -1680,7 +1680,7 @@ function polygon_triangulate(poly, ind, eps=EPSILON) =
|
|||||||
let(
|
let(
|
||||||
ind = deduplicate_indexed(poly, ind, eps)
|
ind = deduplicate_indexed(poly, ind, eps)
|
||||||
)
|
)
|
||||||
assert(len(ind)>=3 , "The polygon vertices are collinear.")
|
len(ind)<3 ? [] :
|
||||||
let(
|
let(
|
||||||
pts = select(poly,ind),
|
pts = select(poly,ind),
|
||||||
nrm = polygon_normal(pts)
|
nrm = polygon_normal(pts)
|
||||||
|
Reference in New Issue
Block a user