Example #1
0
 public override bool IsInside(Vector2 point)
 {
     if (!Minuend.IsInside(point))
     {
         return(false);
     }
     return(!Substraction.Any(hitable => hitable.IsInside(point)));
 }
Example #2
0
 public override bool IsInside(Vector2 point) => O1.IsInside(point) || O2.IsInside(point);