[][src]Function smallpt::nalgebra::distance_squared

pub fn distance_squared<P>(p1: &P, p2: &P) -> <P as EuclideanSpace>::Real where
    P: EuclideanSpace, 

The squared distance between two points.

See also: