pub struct BoundingSphere {
pub center: [f32; 3],
pub radius: f32,
}Expand description
Conservative local sphere for visibility and spatial indexing.
Fields§
§center: [f32; 3]Local/world center depending on the owning prepared instance.
radius: f32Nonnegative radius.
Trait Implementations§
Source§impl Clone for BoundingSphere
impl Clone for BoundingSphere
impl Copy for BoundingSphere
Auto Trait Implementations§
impl Freeze for BoundingSphere
impl RefUnwindSafe for BoundingSphere
impl Send for BoundingSphere
impl Sync for BoundingSphere
impl Unpin for BoundingSphere
impl UnsafeUnpin for BoundingSphere
impl UnwindSafe for BoundingSphere
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