pub fn vec3_max_dimensionf(v: &Vector3f) -> usize
Return the index of the component with the largest value.