Struct footile::BBox
[−]
[src]
pub struct BBox { pub center: Vec3i, pub half_len: i32, }
Bounding box
Fields
center: Vec3i
half_len: i32
Methods
impl BBox
[src]
fn empty() -> BBox
[src]
fn new(p: Vec3i) -> BBox
[src]
fn extend(&mut self, p: Vec3i)
[src]
fn contains(&self, p: Vec3i) -> bool
[src]
Trait Implementations
impl Clone for BBox
[src]
fn clone(&self) -> BBox
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more