Distance() публичный Метод

public Distance ( Vector2 vector ) : float
vector Vector2
Результат float
Пример #1
0
 public static void ApproxEquals(ref Vector2 vector1, ref Vector2 vector2, float tolerance, out bool result)
 {
     result = (vector1.Distance(vector2) <= tolerance);
 }