mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
fmt
This commit is contained in:
parent
704e65cb41
commit
c86c4d0b2b
@ -261,10 +261,12 @@ impl SimChunk {
|
|||||||
let chaos = (gen_ctx.chaos_nz.get((wposf.div(4_000.0)).into_array()) as f32)
|
let chaos = (gen_ctx.chaos_nz.get((wposf.div(4_000.0)).into_array()) as f32)
|
||||||
.add(1.0)
|
.add(1.0)
|
||||||
.mul(0.5)
|
.mul(0.5)
|
||||||
.mul((gen_ctx.chaos_nz.get((wposf.div(8_000.0)).into_array()) as f32)
|
.mul(
|
||||||
|
(gen_ctx.chaos_nz.get((wposf.div(8_000.0)).into_array()) as f32)
|
||||||
.powf(2.0)
|
.powf(2.0)
|
||||||
.add(0.5)
|
.add(0.5)
|
||||||
.min(1.0))
|
.min(1.0),
|
||||||
|
)
|
||||||
.powf(1.4)
|
.powf(1.4)
|
||||||
.add(0.1 * hill);
|
.add(0.1 * hill);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user