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