Skip to main content

bounding_box

Function bounding_box 

Source
pub fn bounding_box(shape: VoxelShape) -> BlockLocalAabb
Expand description

Returns the overall bounding box of a voxel shape (union of all AABBs).

The shape must be non-empty; panics otherwise.