Noise: Prevent unittest crash caused by division by zero
[oweals/minetest.git] / src / mapgen_fractal.h
index 688e41c0a9911143f3c8e66b9a86f192cca49c8f..b3f69cb78fab9d15798838cd27b4543e6972ebc0 100644 (file)
@@ -35,15 +35,16 @@ struct MapgenFractalParams : public MapgenParams
        u32 spflags = 0;
        float cave_width = 0.09f;
        s16 large_cave_depth = -33;
+       s16 lava_depth = -256;
        u16 fractal = 1;
        u16 iterations = 11;
        v3f scale = v3f(4096.0, 1024.0, 4096.0);
-       v3f offset = v3f(1.79, 0.0, 0.0);
+       v3f offset = v3f(1.52, 0.0, 0.0);
        float slice_w = 0.0f;
-       float julia_x = 0.33f;
-       float julia_y = 0.33f;
-       float julia_z = 0.33f;
-       float julia_w = 0.33f;
+       float julia_x = 0.267f;
+       float julia_y = 0.2f;
+       float julia_z = 0.133f;
+       float julia_w = 0.067f;
        NoiseParams np_seabed;
        NoiseParams np_filler_depth;
        NoiseParams np_cave1;