Struct mgf::Manifold [] [src]

pub struct Manifold {
    pub min_coll_time: f32,
    pub contacts: SmallVec<[LocalContact; 4]>,
}

Structure for pruning unnecessary contact points.

Fields

Methods

impl Manifold
[src]

[src]

[src]

[src]

Determines if the contact given is far away from all of the current contact points stored in the Manifold, and if it is pushes it into the vec. If two contact points are too close to each other, the furthest from the center of the geometries is chosen.

Trait Implementations

impl Clone for Manifold
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Manifold
[src]

[src]

Formats the value using the given formatter.