Skip to main content

reduce_voxel_average_f32

Function reduce_voxel_average_f32 

Source
pub fn reduce_voxel_average_f32(
    runtime: &WgpuRuntime,
    values: &[f32],
    segments: &VoxelSegments,
) -> SpatialResult<Vec<f32>>
Expand description

Averages per-point f32 values within each voxel cell on the GPU.