Skip to main content

get_bury_contribution

Function get_bury_contribution 

Source
fn get_bury_contribution(dx: f32, dy: f32, dz: f32) -> f32
Expand description

Computes the bury density contribution for a point near a structure piece.

Simple linear falloff: 1.0 at distance 0, 0.0 at distance 6.