Exemplo n.º 1
0
    public virtual void Init()
    {
        values = new float[countX][];

        for (int i = 0; i < countX; i++)
        {
            values[i] = new float[countY];
            for (int j = 0; j < countY; j++)
            {
                values[i][j] = 1;
            }
        }

        if (visualization != null)
        {
            visualization.Init(countX, countY, null);
        }
    }