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; }
public TerrainNoise(DynamicPlanet planet, int seed) { this.planet = planet; this.seed = seed; amplitude = planet.radius / 30f; frequency = planet.radius / 5f; craterStrength = .01f; ConfigureNoises(); }