mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 10:44:48 +02:00
use contains
This commit is contained in:
@@ -195,7 +195,7 @@ function _delaunayBoundaries(d, badTriangles, boundaries, t, vi, _indices_hash)
|
|||||||
triangles = delaunay_triangles(d),
|
triangles = delaunay_triangles(d),
|
||||||
opTri = hashmap_get(triangles, t, hash = _indices_hash)[vi]
|
opTri = hashmap_get(triangles, t, hash = _indices_hash)[vi]
|
||||||
)
|
)
|
||||||
has(badTriangles, opTri) ?
|
contains(badTriangles, opTri) ?
|
||||||
let(
|
let(
|
||||||
i = search([t], hashmap_get(triangles, opTri, hash = _indices_hash))[0],
|
i = search([t], hashmap_get(triangles, opTri, hash = _indices_hash))[0],
|
||||||
nvi = (i + 1) % 3,
|
nvi = (i + 1) % 3,
|
||||||
|
Reference in New Issue
Block a user