Exemplo n.º 1
0
    private void Triangulate()
    {
        Terrain.Clear();
        Rivers.Clear();
        Roads.Clear();
        Water.Clear();

        foreach (VoronoiCell cell in _cells)
        {
            Triangulate(cell);
        }

        Terrain.Apply();
        Rivers.Apply();
        Roads.Apply();
        Water.Apply();
    }