1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 06:08:31 +01:00
This commit is contained in:
Justin Lin 2022-05-14 12:06:56 +08:00
parent df4b2c702d
commit 91b4b19ef3

View File

@ -27,7 +27,7 @@ function tri_delaunay_voronoi(d) =
i_rts = [
for(tri = tris)
let(a = tri[0], b = tri[1], c = tri[2])
each [[a, [b, c, a]], [b, [c, a, b]], [c, tri]]
each [[a, [b, c, a]], [b, [c, a, b]], [c, [a, b, c]]]
],
connectedTris = [
for(i = [0:coords_leng - 1])
@ -41,7 +41,7 @@ function tri_delaunay_voronoi(d) =
b = tri[1],
c = tri[2]
)
each [[[b, c, a], i], [[c, a, b], i], [tri, i]]
each [[[b, c, a], i], [[c, a, b], i], [[a, b, c], i]]
]),
cells = [
for(i = [4:coords_leng - 1])