pub struct LocalManifoldPoint {
pub point: Vec3,
pub separation: f32,
pub pair: FeaturePair,
pub triangle_index: i32,
}Expand description
A local manifold point and normal in frame A. (b3LocalManifoldPoint)
Fields§
§point: Vec3Local point in frame A.
separation: f32The contact point separation. Negative for overlap.
pair: FeaturePairThe feature pair for this point.
triangle_index: i32The triangle index when collide with a mesh or height-field.
Trait Implementations§
Source§impl Clone for LocalManifoldPoint
impl Clone for LocalManifoldPoint
Source§fn clone(&self) -> LocalManifoldPoint
fn clone(&self) -> LocalManifoldPoint
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 LocalManifoldPoint
Source§impl Debug for LocalManifoldPoint
impl Debug for LocalManifoldPoint
Source§impl Default for LocalManifoldPoint
impl Default for LocalManifoldPoint
Source§fn default() -> LocalManifoldPoint
fn default() -> LocalManifoldPoint
Returns the “default value” for a type. Read more
Source§impl PartialEq for LocalManifoldPoint
impl PartialEq for LocalManifoldPoint
impl StructuralPartialEq for LocalManifoldPoint
Auto Trait Implementations§
impl Freeze for LocalManifoldPoint
impl RefUnwindSafe for LocalManifoldPoint
impl Send for LocalManifoldPoint
impl Sync for LocalManifoldPoint
impl Unpin for LocalManifoldPoint
impl UnsafeUnpin for LocalManifoldPoint
impl UnwindSafe for LocalManifoldPoint
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