mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 13:50:23 +01:00
Update geometry.scad
This commit is contained in:
parent
6b542191ce
commit
2d5ce3b191
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user