mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Update geometry.scad
This commit is contained in:
parent
6b542191ce
commit
2d5ce3b191
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue