pub struct BoundingBox3d {
pub u: Vec3d,
pub v: Vec3d,
}Fields§
§u: Vec3d§v: Vec3dImplementations§
Source§impl BoundingBox3d
impl BoundingBox3d
pub fn intersects(&self, other: &Self) -> bool
pub fn is_hit_by_ray(&self, cray: &ConstrainedRay3d) -> HitBoxResult
Trait Implementations§
Source§impl BoundingBoxTrait for BoundingBox3d
impl BoundingBoxTrait for BoundingBox3d
Source§impl Clone for BoundingBox3d
impl Clone for BoundingBox3d
Source§fn clone(&self) -> BoundingBox3d
fn clone(&self) -> BoundingBox3d
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoundingBox3d
impl Debug for BoundingBox3d
Source§impl Default for BoundingBox3d
impl Default for BoundingBox3d
Source§impl HittableBoundingBoxTrait for BoundingBox3d
impl HittableBoundingBoxTrait for BoundingBox3d
fn hit(&self, ray: &ConstrainedRay3d) -> HitBoxResult
Source§impl KdTreeContent<BoundingBox3d> for Point3d
impl KdTreeContent<BoundingBox3d> for Point3d
fn get_bounding_box(&self) -> BoundingBox3d
Auto Trait Implementations§
impl Freeze for BoundingBox3d
impl RefUnwindSafe for BoundingBox3d
impl Send for BoundingBox3d
impl Sync for BoundingBox3d
impl Unpin for BoundingBox3d
impl UnwindSafe for BoundingBox3d
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more