pub struct SphereShape { /* private fields */ }Expand description
SPHS — a sphere at a local point.
Implementations§
Source§impl SphereShape
impl SphereShape
pub fn local_position(&self) -> Vector3f
pub fn set_local_position(&mut self, value: Vector3f)
pub fn radius(&self) -> f32
pub fn set_radius(&mut self, value: f32)
Trait Implementations§
Source§impl Debug for SphereShape
impl Debug for SphereShape
Source§impl Default for SphereShape
impl Default for SphereShape
Source§impl Drop for SphereShape
impl Drop for SphereShape
impl Send for SphereShape
Auto Trait Implementations§
impl !Sync for SphereShape
impl Freeze for SphereShape
impl RefUnwindSafe for SphereShape
impl Unpin for SphereShape
impl UnsafeUnpin for SphereShape
impl UnwindSafe for SphereShape
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