Skip to main content

falloff

Function falloff 

Source
pub fn falloff(dist: f32, radius: f32) -> f32
Expand description

Smooth falloff 1.0 at the brush center, 0.0 at (and beyond) the radius.