public AABB(IShape shape, int id) { ContainedShape = shape; Bounds = new BoundingBox(shape.Min, shape.Max); Id = id; }