pub struct Sphere3f {
pub center: Vec3f,
pub radius: f32,
}
Expand description
Sphere represented by a center and radius
Fields§
§center: Vec3f
§radius: f32
Implementations§
Trait Implementations§
source§impl PartialEq for Sphere3f
impl PartialEq for Sphere3f
impl Copy for Sphere3f
impl StructuralPartialEq for Sphere3f
Auto Trait Implementations§
impl Freeze for Sphere3f
impl RefUnwindSafe for Sphere3f
impl Send for Sphere3f
impl Sync for Sphere3f
impl Unpin for Sphere3f
impl UnwindSafe for Sphere3f
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