[][src]Function nalgebra_glm::distance2

pub fn distance2<N: Real, D: Dimension>(p0: &TVec<N, D>, p1: &TVec<N, D>) -> N where
    DefaultAllocator: Alloc<N, D>, 

The squared distance between two points.

See also: