public void resetHeightmap() { for (int i = 0; i < Landscape.HEIGHTMAP_RESOLUTION; i++) { for (int j = 0; j < Landscape.HEIGHTMAP_RESOLUTION; j++) { this.sourceHeightmap[i, j] = 0.5f; } } Landscape.reconcileNeighbors(this); this.terrain.ApplyDelayedHeightmapModification(); }