pub fn new_with_transformed_positions(positions: &[Vec3], transformation: &Mat4) -> Self {
        let mut aabb = Self::EMPTY;
        aabb.expand_with_transformation(positions, transformation);
        aabb
    }
///
/// Constructs a new bounding box and expands it such that all of the given positions transformed with the given transformation are contained inside the bounding box.
/// A position consisting of an x, y and z coordinate corresponds to three consecutive value in the positions array.
///
Constructs a new bounding box and expands it such that all of the given positions transformed with the given transformation are contained inside the bounding box.
A position consisting of an x, y and z coordinate corresponds to three consecutive value in the positions array.
Constructs a new bounding box and expands it such that all of the given positions transformed with the given transformation are contained inside the bounding box . A position consisting of an x y and z coordinate corresponds to three consecutive value in the positions array .
pub fn new_with_transformed_positions(positions: &[Vec3], transformation: &Mat4) -> Self {
        let mut aabb = Self::EMPTY;
        aabb.expand_with_transformation(positions, transformation);
        aabb
    }
pub fn new_with_transformed_positions ( positions : & [ Vec3 ] , transformation : & Mat4 ) -> Self { let mut aabb = Self :: EMPTY ; aabb . expand_with_transformation ( positions , transformation ) ; aabb }
Constructs a new bounding box and expands it such that all of the given positions transformed with the given transformation are contained inside the bounding box.
Constructs a new bounding box and expands it such that all of the given positions transformed with the given transformation are contained inside the bounding box .
positions
&[Vec3]
transformation
&Mat4
positions
&[Vec3]
transformation
&Mat4