AccidentalNoise.Noise.interpolate_X_2 C# (CSharp) Метод

interpolate_X_2() статический приватный Метод

static private interpolate_X_2 ( Double x, Double y, Double xs, Int32 x0, Int32 x1, Int32 iy, Int32 seed, WorkerNoise2 noisefunc ) : Double
x Double
y Double
xs Double
x0 System.Int32
x1 System.Int32
iy System.Int32
seed System.Int32
noisefunc WorkerNoise2
Результат 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);
        }