コード例 #1
0
        public float[] Generate(int size)
        {
            var seed = new DiamondSquareSeed(DiamondSquareSeed.Empty);

            seed.size = size;
            return(Generate(seed));
        }
コード例 #2
0
 public float[] Generate(DiamondSquareSeed seed)
 {
     return(Generate(seed.size, seed.randomSeed, seed.heightVariance, seed.leftTop, seed.rightTop, seed.leftBottom, seed.rightBottom));
 }