Ejemplo n.º 1
0
    private static int[,] GetNoiseMap(PerlinParameters perlinParameters)
    {
        int   width       = perlinParameters.width;
        int   length      = perlinParameters.length;
        int   seed        = perlinParameters.seed;
        int   range       = perlinParameters.range;
        int   octaves     = perlinParameters.octaves;
        float persistance = perlinParameters.persistance;
        float lacunarity  = perlinParameters.lacunarity;

        return(PerlinNoise.GenerateHeights(width, length, seed, range, octaves, persistance, lacunarity));
    }