#[repr(C)]pub struct b3ShapeProxy {
pub points: *const b3Vec3,
pub count: c_int,
pub radius: f32,
}Expand description
A shape proxy is used by the GJK algorithm. It can represent a convex shape.
Fields§
§points: *const b3Vec3The point cloud.
count: c_intThe number of points. Do not exceed B3_MAX_SHAPE_CAST_POINTS.
radius: f32The external radius of the point cloud.
Trait Implementations§
Source§impl Clone for b3ShapeProxy
impl Clone for b3ShapeProxy
Source§fn clone(&self) -> b3ShapeProxy
fn clone(&self) -> b3ShapeProxy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3ShapeProxy
Auto Trait Implementations§
impl !Send for b3ShapeProxy
impl !Sync for b3ShapeProxy
impl Freeze for b3ShapeProxy
impl RefUnwindSafe for b3ShapeProxy
impl Unpin for b3ShapeProxy
impl UnsafeUnpin for b3ShapeProxy
impl UnwindSafe for b3ShapeProxy
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