示例#1
0
        public FastPerlinNoise2D(PerlinNoiseSettings2D settings)
        {
            this.settings = settings;
            rng           = new Random(settings.seed);

            populatePremutations();
        }
示例#2
0
        public PerlinNoiseSettings2D(PerlinNoiseSettings2D settings)
        {
            size          = settings.size;
            startingPoint = settings.startingPoint;

            frequencyMulti = settings.frequencyMulti;
            persistence    = settings.persistence;
            zoom           = settings.zoom;
            octaves        = settings.octaves;
        }
示例#3
0
        public PerlinNoiseSettings2D(PerlinNoiseSettings2D settings)
        {
            size          = new Vector2i(settings.size);
            startingPoint = new Vector2i(settings.startingPoint);

            frequencyMulti = settings.frequencyMulti;
            persistence    = settings.persistence;
            zoom           = settings.zoom;
            octaves        = settings.octaves;
            seed           = settings.seed;
        }