62 if(isset($this->connections[Facing::WEST]) || isset($this->connections[Facing::EAST])){
63 $bb = AxisAlignedBB::one()->squash(Axis::Z, $inset);
65 if(!isset($this->connections[Facing::WEST])){
66 $bb->trim(Facing::WEST, $inset);
67 }elseif(!isset($this->connections[Facing::EAST])){
68 $bb->trim(Facing::EAST, $inset);
73 if(isset($this->connections[Facing::NORTH]) || isset($this->connections[Facing::SOUTH])){
74 $bb = AxisAlignedBB::one()->squash(Axis::X, $inset);
76 if(!isset($this->connections[Facing::NORTH])){
77 $bb->trim(Facing::NORTH, $inset);
78 }elseif(!isset($this->connections[Facing::SOUTH])){
79 $bb->trim(Facing::SOUTH, $inset);
84 if(count($bbs) === 0){
87 AxisAlignedBB::one()->contract($inset, 0, $inset)