mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 01:34:12 +02:00
require int
This commit is contained in:
@@ -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]]
|
||||||
|
Reference in New Issue
Block a user