Struct dumbmath::aabb::Aabb3f
[−]
[src]
pub struct Aabb3f { pub min: Vec3f, pub max: Vec3f, }
Fields
min | |
max |
Methods
impl Aabb3f
fn new() -> Aabb3f
Create an empty Aabb3f with min initialized to +infinity and max is initialized to -infinity.
fn from_point(point: Vec3f) -> Aabb3f
fn contains_point(&self, point: Vec3f) -> bool
True if the point intersects the box