1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 17:24:20 +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
t2 = [2, 3, 1],
number_of_buckets = leng_points * 0.5,
number_of_buckets = ceil(leng_points * 0.5),
triangles = hashmap([
[t1, [t2, undef, undef]],
[t2, [t1, undef, undef]]