Skip to main content

distance

Function distance 

Source
pub fn distance<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)