//returns true if the bbox described by other intersects with this one public bool isOverlappedWith(InvertedAABBox other) { return(!((other.Top() > this.Bottom()) || (other.Bottom() < this.Top()) || (other.Left() > this.Right()) || (other.Right() < this.Left()) || (other.Front() > this.Back()) || (other.Back() < this.Front()))); }
public Cell(Vector3 topleft, Vector3 botright) { BBox = new InvertedAABBox(topleft, botright); }