1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-01-17 14:18:13 +01:00
This commit is contained in:
Justin Lin 2021-12-19 15:57:26 +08:00
parent 0fb6f4b9a1
commit 47bdb4b31d

View File

@ -27,7 +27,7 @@ module ripples() {
let(
i = size.x * y + x,
p = points[i],
n = 2.5 * (nz_perlin3(cells[i][2], p.x / detail2, p.y / detail2, 1) + 1)
n = 2.5 * nz_perlin3(cells[i][2], p.x / detail2, p.y / detail2, 1)
)
[p.x, p.y, n]
]