1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-04-14 11:11:55 +02:00

use rands directly

This commit is contained in:
Justin Lin 2019-08-11 11:06:38 +08:00
parent 6bda7cc3fa
commit 99e68cfb31

View File

@ -44,7 +44,7 @@ module hypnotic_squares(x_grids, y_grids, grid_size, final_size, line_width) {
rand_lt = [for(x = 0; x < x_grids; x = x + 1)
[for(y = 0; y < y_grids; y = y + 1)
[random(), random()]
rands(0, 1, 2)
]
];