mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-01 02:10:38 +02:00
Update geometry.scad
This commit is contained in:
@@ -1674,9 +1674,9 @@ function polygon_triangulate(poly, ind, eps=EPSILON) =
|
|||||||
? // represents the polygon projection on its plane as a 2d polygon
|
? // represents the polygon projection on its plane as a 2d polygon
|
||||||
let(
|
let(
|
||||||
ind = deduplicate_indexed(poly, ind, eps)
|
ind = deduplicate_indexed(poly, ind, eps)
|
||||||
)
|
)
|
||||||
len(ind)<3 ? [] :
|
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