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

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

static private interpolate_XY_2 ( Double x, Double y, Double xs, Double ys, Int32 x0, Int32 x1, Int32 y0, Int32 y1, Int32 seed, WorkerNoise2 noisefunc ) : Double
x Double
y Double
xs Double
ys Double
x0 System.Int32
x1 System.Int32
y0 System.Int32
y1 System.Int32
seed System.Int32
noisefunc WorkerNoise2
Результат Double
        internal static Double interpolate_XY_2(
            Double x, Double y, Double xs, Double ys, 
            Int32 x0, Int32 x1, Int32 y0, Int32 y1,
            Int32 seed, WorkerNoise2 noisefunc)
        {
            var v1 = interpolate_X_2(x, y, xs, x0, x1, y0, seed, noisefunc);
            var v2 = interpolate_X_2(x, y, xs, x0, x1, y1, seed, noisefunc);

            return Lerp(ys, v1, v2);
        }