mono/MonoGame — pull request #468 by tompudding (2012-05-20 21:16:01+00:00)
Title: Update Rectangle.Intersects to correct off-by-one error

In XNA Rectangle.Intersects returns False for adjacent but non-overlapping rectangles, for example:

Rectangle rect1 = new Rectangle(0,0,32,32);
Rectangle rect2 = new Rectangle(32,0,32,32);
Console.WriteLine("Intersection : " + rect1.Intersects(rect2));

prints False. Monogame prints True.

I've update the definition in Rectangle.cs to use inclusive comparisons which I think fixes it.