127 $north = isset($this->connections[
Facing::NORTH]);
128 $south = isset($this->connections[Facing::SOUTH]);
129 $west = isset($this->connections[Facing::WEST]);
130 $east = isset($this->connections[Facing::EAST]);
136 ($north && $south && !$west && !$east) ||
137 (!$north && !$south && $west && $east)
146 ->extend(Facing::UP, 0.5)
147 ->trim(Facing::NORTH, $north ? 0 : $inset)
148 ->trim(Facing::SOUTH, $south ? 0 : $inset)
149 ->trim(Facing::WEST, $west ? 0 : $inset)
150 ->trim(Facing::EAST, $east ? 0 : $inset)