[][src]Function pbrt::core::geometry::vec3_max_dimension

pub fn vec3_max_dimension<T>(v: &Vector3<T>) -> usize where
    T: PartialOrd

Return the index of the component with the largest value.