mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-06 14:56:47 +02:00
refactor
This commit is contained in:
@@ -27,7 +27,7 @@ module ripples() {
|
|||||||
let(
|
let(
|
||||||
i = size.x * y + x,
|
i = size.x * y + x,
|
||||||
p = points[i],
|
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]
|
[p.x, p.y, n]
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user