#[repr(C)]pub struct b3Capsule {
pub center1: b3Vec3,
pub center2: b3Vec3,
pub radius: f32,
}Expand description
A solid capsule can be viewed as two hemispheres connected by a rectangle.
Fields§
§center1: b3Vec3Local center of the first hemisphere
center2: b3Vec3Local center of the second hemisphere
radius: f32The radius of the hemispheres
Trait Implementations§
Auto Trait Implementations§
impl Freeze for b3Capsule
impl RefUnwindSafe for b3Capsule
impl Send for b3Capsule
impl Sync for b3Capsule
impl Unpin for b3Capsule
impl UnsafeUnpin for b3Capsule
impl UnwindSafe for b3Capsule
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