Sqrt() публичный статический Метод

public static Sqrt ( float v ) : float
v float
Результат float
Пример #1
0
 /**
  * Returns the Euclidean distance between the specified two points.
  */
 public static float Distance(float x1, float y1, float x2, float y2)
 {
     return(FloatMath.Sqrt(DistanceSq(x1, y1, x2, y2)));
 }
Пример #2
0
 /**
  * Returns the magnitude of the specified vector.
  */
 public static float Length(float x, float y)
 {
     return(FloatMath.Sqrt(LengthSq(x, y)));
 }
Пример #3
0
 public float Distance(Vector other)
 {
     return(FloatMath.Sqrt(DistanceSq(other)));
 }