distance2

Function distance2 

Source
pub fn distance2<T: AffineSpace>(a: T, b: T) -> <T::Diff as VectorSpace>::Scalar
where T::Diff: InnerSpace,
Expand description

The squared distance between two points.