LibNoise.Primitive.SimplexPerlin.Dot C# (CSharp) Метод

Dot() защищенный статический Метод

Computes dot product in 2D.
protected static Dot ( int g, float x, float y ) : float
g int 2-vector (grid offset).
x float X coordinates.
y float Y coordinates.
Результат float
        protected static float Dot(int[] g, float x, float y)
        {
            return g[0]*x + g[1]*y;
        }

Same methods

SimplexPerlin::Dot ( int g, float x, float y, float z ) : float
SimplexPerlin::Dot ( int g, float x, float y, float z, float t ) : float