pub fn vec3_max_dimensioni(v: &Vector3i) -> usize {
    if v.x > v.y {
        if v.x > v.z {
            0_usize
        } else {
            2_usize
        }
    } else if v.y > v.z {
        1_usize
    } else {
        2_usize
    }
}
/// Return the index of the component with the largest value.
Return the index of the component with the largest value.
Return the index of the component with the largest value .
pub fn vec3_max_dimensioni(v: &Vector3i) -> usize {
    if v.x > v.y {
        if v.x > v.z {
            0_usize
        } else {
            2_usize
        }
    } else if v.y > v.z {
        1_usize
    } else {
        2_usize
    }
}
pub fn vec3_max_dimensioni ( v : & Vector3i ) -> usize { if v . x > v . y { if v . x > v . z { 0_usize } else { 2_usize } } else if v . y > v . z { 1_usize } else { 2_usize } }
Return the index of the component with the largest value.
Return the index of the component with the largest value .
v
&Vector3i