Function maths_rs::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)