Exemplo n.º 1
0
 public static bool IsInRangeOf2D(this ISpatial s, ISpatial spatial, float distance)
 {
     return(s.DistanceTo2D(spatial) < distance);
 }
Exemplo n.º 2
0
 public static bool IsInRangeOf2D(this ISpatial s, Vector3 position, float distance)
 {
     return(s.DistanceTo2D(position) < distance);
 }