Function rs_pbrt::core::geometry::pnt3_distance_squaredf
source · pub fn pnt3_distance_squaredf(p1: &Point3f, p2: &Point3f) -> Float
Expand description
The distance squared between two points is the length of the vector between them squared.