[−][src]Function pbrt::core::geometry::pnt3_distance
pub fn pnt3_distance<T>(p1: &Point3<T>, p2: &Point3<T>) -> T where
T: Float + Sub<T, Output = T>,
The distance between two points is the length of the vector between them.