pub struct AABB3D { /* private fields */ }Expand description
A 3D axis-aligned bounding box defined by its minimum and maximum corners.
Implementations§
Source§impl AABB3D
Implements methods for AABB3D.
impl AABB3D
Implements methods for AABB3D.
Sourcepub fn size(&self) -> Vector3D
pub fn size(&self) -> Vector3D
Returns the dimensions of the bounding box as a vector.
§Returns
Vector3D- The size vector (width, height, depth).
Trait Implementations§
impl Copy for AABB3D
Source§impl PartialOrd for AABB3D
impl PartialOrd for AABB3D
impl StructuralPartialEq for AABB3D
Auto Trait Implementations§
impl Freeze for AABB3D
impl RefUnwindSafe for AABB3D
impl Send for AABB3D
impl Sync for AABB3D
impl Unpin for AABB3D
impl UnsafeUnpin for AABB3D
impl UnwindSafe for AABB3D
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