Nez.RectangleExt.intersect C# (CSharp) Méthode

intersect() public static méthode

returns true if rect1 intersects rect2
public static intersect ( Rectangle &rect1, Rectangle &rect2 ) : bool
rect1 Microsoft.Xna.Framework.Rectangle
rect2 Microsoft.Xna.Framework.Rectangle
Résultat bool
		public static bool intersect( ref Rectangle rect1, ref Rectangle rect2 )
		{
			bool result;
			rect1.Intersects( ref rect2, out result );
			return result;
		}