BananaMpq.MathUtil.Intersects C# (CSharp) Method

Intersects() public static method

public static Intersects ( this rect, BoundingBox box ) : bool
rect this
box BoundingBox
return bool
        public static bool Intersects(this RectangleF rect, BoundingBox box)
        {
            return !(box.Minimum.X > rect.Right || box.Maximum.X < rect.Left || box.Minimum.Y > rect.Top || box.Maximum.Y < rect.Bottom);
        }