Skip to main content

reduce_voxel_centroids_xyz

Function reduce_voxel_centroids_xyz 

Source
pub fn reduce_voxel_centroids_xyz(
    runtime: &WgpuRuntime,
    x: &[f32],
    y: &[f32],
    z: &[f32],
    segments: &VoxelSegments,
) -> SpatialResult<(Vec<f32>, Vec<f32>, Vec<f32>)>
Expand description

Averages xyz positions within each voxel cell on the GPU.