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);
 }