Skip to main content

gpu_voxel_erode

Function gpu_voxel_erode 

Source
pub fn gpu_voxel_erode(grid: &mut GpuVoxelGrid)
Expand description

Morphological erosion: clear a voxel if any 6-connected neighbour is empty.

The operation is applied once (one erosion pass).