Function ggez::graphics::na::distance_squared [] [src]

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

The squared distance between two points.