Skip to main content

get_bury_contribution

Function get_bury_contribution 

Source
fn get_bury_contribution(dx: f64, dy: f64, dz: f64) -> f64
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.