pub fn new_with_positions(positions: &[Vec3]) -> Self {
        let mut aabb = Self::EMPTY;
        aabb.expand(positions);
        aabb
    }
///
/// Constructs a new bounding box and expands it such that all of the given positions are contained inside the bounding box.
///
Constructs a new bounding box and expands it such that all of the given positions are contained inside the bounding box.
Constructs a new bounding box and expands it such that all of the given positions are contained inside the bounding box .
pub fn new_with_positions(positions: &[Vec3]) -> Self {
        let mut aabb = Self::EMPTY;
        aabb.expand(positions);
        aabb
    }
pub fn new_with_positions ( positions : & [ Vec3 ] ) -> Self { let mut aabb = Self :: EMPTY ; aabb . expand ( positions ) ; aabb }
Constructs a new bounding box and expands it such that all of the given positions are contained inside the bounding box.
Constructs a new bounding box and expands it such that all of the given positions are contained inside the bounding box .
positions
&[Vec3]
positions
&[Vec3]