veloren_world
0.10.0
Module scatter
Constants
Functions
In veloren_world::layer
?
Module
veloren_world
::
layer
::
scatter
source
·
[
−
]
Constants
DEPTH_WATER_NORM
🔒
GRASS_FACT
🔒
MUSH_FACT
🔒
TREE_FACT
🔒
Functions
apply_scatter_to
density_factor_by_altitude
Returns a decimal value between 0 and 1. The density is maximum at the middle of the highest and the lowest allowed altitudes, and zero otherwise. Quadratic curve.