#[repr(C)]pub struct b3DistanceInput {
pub proxyA: b3ShapeProxy,
pub proxyB: b3ShapeProxy,
pub transform: b3Transform,
pub useRadii: bool,
}Expand description
Input for b3ShapeDistance
Fields§
§proxyA: b3ShapeProxyThe proxy for shape A
proxyB: b3ShapeProxyThe proxy for shape B
transform: b3TransformTransform of shape B in shape A’s frame, the relative pose B in A (b3InvMulWorldTransforms( worldA, worldB )). The query is origin independent and runs in frame A.
useRadii: boolShould the proxy radius be considered?
Trait Implementations§
Source§impl Clone for b3DistanceInput
impl Clone for b3DistanceInput
Source§fn clone(&self) -> b3DistanceInput
fn clone(&self) -> b3DistanceInput
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 b3DistanceInput
Auto Trait Implementations§
impl !Send for b3DistanceInput
impl !Sync for b3DistanceInput
impl Freeze for b3DistanceInput
impl RefUnwindSafe for b3DistanceInput
impl Unpin for b3DistanceInput
impl UnsafeUnpin for b3DistanceInput
impl UnwindSafe for b3DistanceInput
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