Skip to main content

bounding_box_of

Function bounding_box_of 

Source
pub fn bounding_box_of(
    chunks: impl IntoIterator<Item = [i32; 3]>,
) -> Option<([i32; 3], [u32; 3])>
Expand description

Compute the smallest bounding box that contains every (chunk_idx, _) in chunks. Returns None if chunks is empty.