func (c rect) Contains(b gfx.Boundable) bool { return b.Bounds().In(math.Rect3(c)) }
// Bounds implements the Spatial interface. func (b Bounds) Bounds() math.Rect3 { return math.Rect3(b) }
func (c rect) Intersects(b gfx.Boundable) bool { return math.Rect3(c).Overlaps(b.Bounds()) }