Function bounding_box
pub fn bounding_box(shape: VoxelShape) -> Aabb<DVec3, BlockLocal>Expand description
Returns the overall bounding box of a voxel shape (union of all AABBs).
The shape must be non-empty; panics otherwise.
pub fn bounding_box(shape: VoxelShape) -> Aabb<DVec3, BlockLocal>Returns the overall bounding box of a voxel shape (union of all AABBs).
The shape must be non-empty; panics otherwise.