Esempio n. 1
0
        private static Chunk GenerateEmptyChunk(int index, TerrainSettings settings)
        {
            var chunk = Chunk.Empty;

            chunk.HeightMap = HeightMap.FromSize(settings.ChunkSize, settings.DefaultHeight);

            chunk.Index = index;

            return(chunk);
        }