Esempio n. 1
0
        private void GenerateRoads(HeightMap <ushort> heightMap)
        {
            //var generator = new RoadGenerator(2, heightMap);
            var generator = new RoadGenerator <double>(2, () => new RoadCellMapDouble(heightMap, 8));

            generator.Generate();
            generator.Save(BaseDirectory);
        }