1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 08:44:20 +02:00
This commit is contained in:
Justin Lin
2020-03-06 10:12:19 +08:00
parent 5d8bf26cd8
commit 2e0e06f12d

View File

@@ -3,7 +3,7 @@ use <experimental/_impl/_pnoise_comm.scad>;
function _pnoise1(x, seed) =
let(
xi = floor(x),
xf = x - floor(x),
xf = x - xi,
u = _pnoise_fade(xf),
a = _pnoise_lookup_poise_table(seed + xi),
b = _pnoise_lookup_poise_table(seed + xi + 1)