예제 #1
0
 public static bool IntersectAny(this RectInt rect, IEnumerable <RectInt> others)
 {
     foreach (RectInt other in others)
     {
         if (rect.Intersect(other))
         {
             return(true);
         }
     }
     return(false);
 }