Esempio n. 1
0
        public WorleyNoise(int seed, float jitter, DistanceFunction distanceFunc = DistanceFunction.Euclidean, CombinationFunction combinationFunc = CombinationFunction.D1_D0)
        {
            Jitter      = jitter;
            Distance    = distanceFunc;
            Combination = combinationFunc;

            Perm = new NoiseUtil.PermutationTable(1024, 255, seed);
        }
Esempio n. 2
0
 public ValueNoise(int seed)
 {
     perm = new NoiseUtil.PermutationTable(1024, 255, seed);
 }