Function voxelize::sweep

source · []
pub fn sweep(
    get_voxel: GetVoxelFunc<'_>,
    registry: &Registry,
    target: &mut AABB,
    velocity: &Vec3<f32>,
    callback: &mut dyn FnMut(f32, usize, i32, &mut [f32; 3]) -> bool,
    translate: bool,
    max_iterations: usize
)