Exemple #1
0
 public Region(DynamicPlanet planet, Region parent, Vector3 A, Vector3 B, Vector3 C, int depth)
 {
     this.planet = planet;
     this.parent = parent;
     this.A      = A;
     this.B      = B;
     this.C      = C;
     this.depth  = depth;
 }
Exemple #2
0
        public TerrainNoise(DynamicPlanet planet, int seed)
        {
            this.planet    = planet;
            this.seed      = seed;
            amplitude      = planet.radius / 30f;
            frequency      = planet.radius / 5f;
            craterStrength = .01f;

            ConfigureNoises();
        }