///
/// Get the center of the bounding box.
///
Get the center of the bounding box.
Get the center of the bounding box .
pub fn center(&self) -> Vec3 {
        if self.is_infinite() {
            Vec3::new(0.0, 0.0, 0.0)
        } else {
            0.5 * self.max + 0.5 * self.min
        }
    }
pub fn center ( & self ) -> Vec3 { if self . is_infinite ( ) { Vec3 :: new ( 0.0 , 0.0 , 0.0 ) } else { 0.5 * self . max + 0.5 * self . min } }
Get the center of the bounding box.
Get the center of the bounding box .
&self