Skip to main content

dist

Function dist 

Source
pub fn dist<T: Float, V: VecFloatOps<T>>(a: V, b: V) -> T
Expand description

returns scalar distance between 2 points a and b (magnitude of the vector between the 2 points)