static private interpolate_X_2 ( Double x, Double y, Double xs, |
||
x | Double | |
y | Double | |
xs | Double | |
x0 | ||
x1 | ||
iy | ||
seed | ||
noisefunc | WorkerNoise2 | |
return | Double |
internal static Double interpolate_X_2(
Double x, Double y, Double xs,
Int32 x0, Int32 x1, Int32 iy,
Int32 seed, WorkerNoise2 noisefunc)
{
var v1 = noisefunc(x, y, x0, iy, seed);
var v2 = noisefunc(x, y, x1, iy, seed);
return Lerp(xs, v1, v2);
}