pub struct Sphere { /* private fields */ }Expand description
A sphere in 3D space.
Implementations§
Trait Implementations§
source§impl Intersects<AABB> for Sphere
impl Intersects<AABB> for Sphere
source§impl Intersects<Line> for Sphere
impl Intersects<Line> for Sphere
source§impl Intersects<Sphere> for AABB
impl Intersects<Sphere> for AABB
source§impl Intersects<Sphere> for Line
impl Intersects<Sphere> for Line
source§impl Intersects for Sphere
impl Intersects for Sphere
source§fn intersects(&self, other: &Self) -> bool
fn intersects(&self, other: &Self) -> bool
Determines if this object intersects with another object. Read more
Auto Trait Implementations§
impl Freeze for Sphere
impl RefUnwindSafe for Sphere
impl Send for Sphere
impl Sync for Sphere
impl Unpin for Sphere
impl UnwindSafe for Sphere
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