ThuCommix / Sharpex2D

2D GameEngine for Indie games with alot of features
http://www.sharpex2d.de
MIT License
47 stars 9 forks source link

Wrong Calculation of Rectangle.Contains(Rectangle) #11

Closed enbacode closed 10 years ago

enbacode commented 10 years ago

https://github.com/ThuCommix/Sharpex2D/blob/master/Sharpex2D/Framework/Math/Rectangle.cs#L145

should be value.Y + value.Height <= Bottom; instead of value.Y + Height <= Bottom;