1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-12 09:44:16 +02:00

require int

This commit is contained in:
Justin Lin
2021-05-03 18:03:03 +08:00
parent d92ca8161a
commit 6044aaeb75

View File

@@ -44,7 +44,7 @@ function delaunay_init(center, width, height, leng_points) =
], ],
t1 = [0, 1, 3], // indices t1 = [0, 1, 3], // indices
t2 = [2, 3, 1], t2 = [2, 3, 1],
number_of_buckets = leng_points * 0.5, number_of_buckets = ceil(leng_points * 0.5),
triangles = hashmap([ triangles = hashmap([
[t1, [t2, undef, undef]], [t1, [t2, undef, undef]],
[t2, [t1, undef, undef]] [t2, [t1, undef, undef]]