extends BrushShape
class_name BoxShape
## A box: one solid filling the bounds. Solid all the way through, so it asks for no
## clearance — displacing the ground it occupies is the whole of what it wants, and the
## shell already does that by enclosing it.
func id() -> String:
return "box"
func pieces(lo: Vector3, hi: Vector3, _ctx: Dictionary) -> Array:
return [ShapeKit.box_piece(lo, hi)]
func describe(_lo: Vector3, _hi: Vector3, _ctx: Dictionary, size_text: String) -> String:
return size_text