Skip to main content

make_bounding_box

Function make_bounding_box 

Source
fn make_bounding_box(
    pos: IVec3,
    dir: Direction,
    width: i32,
    height: i32,
    depth: i32,
) -> BoundingBox
Expand description

Matches StructurePiece.makeBoundingBox: width rotates with the direction axis.