Distance() public method

public Distance ( Vector2 vector ) : float
vector Vector2
return float
Example #1
0
 public static void ApproxEquals(ref Vector2 vector1, ref Vector2 vector2, float tolerance, out bool result)
 {
     result = (vector1.Distance(vector2) <= tolerance);
 }