/// Returns which axis is the widest. 0: x, 1: y, 2: z
Returns which axis is the widest.
Returns which axis is the widest .
pub fn max_extent(&self) -> u8 {
        let diag = self.max - self.min;
        if diag.x > diag.y && diag.x > diag.z {
            0
        } else if diag.y > diag.z {
            1
        } else {
            2
        }
    }
pub fn max_extent ( & self ) -> u8 { let diag = self . max - self . min ; if diag . x > diag . y && diag . x > diag . z { 0 } else if diag . y > diag . z { 1 } else { 2 } }
Returns which axis is the widest.
Returns which axis is the widest .
&self