Example #1
0
 public static bool Intersects(Body a, Body b)
 {
     return a.Shapes.Any(
         (sa) => b.Shapes.Any(
             (sb) => ShapePrimitive.Intersects(sa, sb)
         )
     );
 }
Example #2
0
 public bool Intersects(Body other)
 {
     return Intersects(this, other);
 }