getDistance

Returns distance between two points.

  1. int getDistance(vec2 a, vec2 b)
    @nogc nothrow
    int
    getDistance
    ()
    (
    in auto ref vec2 a
    ,
    in auto ref vec2 b
    )
  2. int getDistance(vec3 a, vec3 b)

Meta