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