Made cliff detection more tolerant

This commit is contained in:
Joshua Barretto 2019-07-09 00:31:43 +01:00
parent cfdb0209bd
commit fa28c8a6c6

View File

@ -421,10 +421,7 @@ impl SimChunk {
&& dryness > 0.05
&& alt > CONFIG.sea_level + 5.0
&& dryness.abs() > 0.075,
near_cliffs: cliff > 0.275
&& dryness > 0.05
&& alt > CONFIG.sea_level + 5.0
&& dryness.abs() > 0.075,
near_cliffs: cliff > 0.25,
tree_density: (gen_ctx.tree_nz.get((wposf.div(1024.0)).into_array()) as f32)
.mul(1.5)
.add(1.0)