distance

Compute distance between two 2D points

  1. T distance(Vector!(T, 2) a, Vector!(T, 2) b)
    T
    distance
    (
    T
    )
    (
    Vector!(T, 2) a
    ,
    Vector!(T, 2) b
    )
  2. T distance(Vector!(T, 3) a, Vector!(T, 3) b)

Meta