From 71f4704502151e78c76d86e305e205e0a9b5365b Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Mon, 8 Jul 2019 01:49:54 +0100 Subject: [PATCH] Restructured mountain profile --- world/src/sim/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/world/src/sim/mod.rs b/world/src/sim/mod.rs index d07df0ed74..e49d6b83ae 100644 --- a/world/src/sim/mod.rs +++ b/world/src/sim/mod.rs @@ -374,6 +374,7 @@ impl SimChunk { .mul( (gen_ctx.chaos_nz.get((wposf.div(6_000.0)).into_array()) as f32) .abs() + .max(0.25) .min(1.0), ) .add(0.15 * hill) @@ -383,7 +384,8 @@ impl SimChunk { .mul(12.0) .max(0.35) .min(1.0), - ); + ) + .max(0.15); let alt_base = gen_ctx.alt_nz.get((wposf.div(6_000.0)).into_array()) as f32; let alt_base = alt_base