BoundingBox(Point3 minCorner, Point3 maxCorner)

Creates a bounding box with the given corners. The constructor assumes minCorner to be smaller than maxCorner.

Source

BoundingBox(this.minCorner, this.maxCorner);