Skip to main content

sdf_erode

Function sdf_erode 

Source
pub fn sdf_erode(grid: &SdfGrid, offset: f64) -> SdfGrid
Expand description

SDF erosion: offset the surface inward by offset units.

Equivalent to sdf_dilate(grid, -offset).