Ejemplo n.º 1
0
        public Terra(Int32 ySize, PlanetData planetData, Single waterLevel = 0.25f, Single roughness = 1.5f)
            : base(ySize, planetData)
        {
            _heighmapGen = new HeighmapGenerator(YSize + 1, 1.5f);

            Roughness  = roughness;
            WaterLevel = waterLevel;
        }
Ejemplo n.º 2
0
        public Desert(Int32 ySize, PlanetData planetData, Single roughness = 1.5f, Single snowRoughness = 0.03f)
            : base(ySize, planetData)
        {
            SnowRoughness = snowRoughness;

            _heighmapGen = new HeighmapGenerator(YSize + 1, 1.5f);
            Roughness    = roughness;
        }