///
/// Expand the bounding box such that it also contains the given other bounding box.
///
Expand the bounding box such that it also contains the given other bounding box.
Expand the bounding box such that it also contains the given other bounding box .
pub fn expand_with_aabb(&mut self, other: &AxisAlignedBoundingBox) {
        self.min = Vec3::new(
            f32::min(self.min.x, other.min.x),
            f32::min(self.min.y, other.min.y),
            f32::min(self.min.z, other.min.z),
        );
        self.max = Vec3::new(
            f32::max(self.max.x, other.max.x),
            f32::max(self.max.y, other.max.y),
            f32::max(self.max.z, other.max.z),
        );
    }
pub fn expand_with_aabb ( & mut self , other : & AxisAlignedBoundingBox ) { self . min = Vec3 :: new ( f32 :: min ( self . min . x , other . min . x ) , f32 :: min ( self . min . y , other . min . y ) , f32 :: min ( self . min . z , other . min . z ) , ) ; self . max = Vec3 :: new ( f32 :: max ( self . max . x , other . max . x ) , f32 :: max ( self . max . y , other . max . y ) , f32 :: max ( self . max . z , other . max . z ) , ) ; }
Expand the bounding box such that it also contains the given other bounding box.
Expand the bounding box such that it also contains the given other bounding box .
&mut self
other
&AxisAlignedBoundingBox