#[repr(C)]pub struct b3LocalManifold {
pub normal: b3Vec3,
pub triangleNormal: b3Vec3,
pub points: *mut b3LocalManifoldPoint,
pub pointCount: c_int,
pub triangleIndex: c_int,
pub i1: c_int,
pub i2: c_int,
pub i3: c_int,
pub squaredDistance: f32,
pub feature: b3TriangleFeature,
pub triangleFlags: c_int,
}Expand description
A local manifold with no dynamic information. Used by b3Collide functions.
Fields§
§normal: b3Vec3Local normal in frame A.
triangleNormal: b3Vec3The triangle normal.
points: *mut b3LocalManifoldPointThe manifold points. From a point buffer.
pointCount: c_intThe number of manifold points. Only bounded by the buffer capacity.
triangleIndex: c_intThe index of the triangle.
i1: c_int< Vertex 1 index.
i2: c_int< Vertex 2 index.
i3: c_int< Vertex 3 index.
squaredDistance: f32The squared distance of a sphere from a triangle. For ghost collision reduction.
feature: b3TriangleFeatureThe triangle feature involved.
triangleFlags: c_intb3MeshEdgeFlags.
Trait Implementations§
Source§impl Clone for b3LocalManifold
impl Clone for b3LocalManifold
Source§fn clone(&self) -> b3LocalManifold
fn clone(&self) -> b3LocalManifold
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 b3LocalManifold
Auto Trait Implementations§
impl !Send for b3LocalManifold
impl !Sync for b3LocalManifold
impl Freeze for b3LocalManifold
impl RefUnwindSafe for b3LocalManifold
impl Unpin for b3LocalManifold
impl UnsafeUnpin for b3LocalManifold
impl UnwindSafe for b3LocalManifold
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