pub fn new(x_length: f32, y_length: f32, z_length: f32) -> Box {
        Box {
            max_x: x_length / 2.0,
            min_x: -x_length / 2.0,
            max_y: y_length / 2.0,
            min_y: -y_length / 2.0,
            max_z: z_length / 2.0,
            min_z: -z_length / 2.0,
        }
    }
/// Creates a new box centered at the origin with the supplied side lengths.
Creates a new box centered at the origin with the supplied side lengths.
Creates a new box centered at the origin with the supplied side lengths .
pub fn new(x_length: f32, y_length: f32, z_length: f32) -> Box {
        Box {
            max_x: x_length / 2.0,
            min_x: -x_length / 2.0,
            max_y: y_length / 2.0,
            min_y: -y_length / 2.0,
            max_z: z_length / 2.0,
            min_z: -z_length / 2.0,
        }
    }
pub fn new ( x_length : f32 , y_length : f32 , z_length : f32 ) -> Box { Box { max_x : x_length / 2.0 , min_x : - x_length / 2.0 , max_y : y_length / 2.0 , min_y : - y_length / 2.0 , max_z : z_length / 2.0 , min_z : - z_length / 2.0 , } }
Creates a new box centered at the origin with the supplied side lengths.
Creates a new box centered at the origin with the supplied side lengths .
x_length
f32
y_length
f32
z_length
f32
x_length
f32
y_length
f32
z_length
f32