Struct mgf::Manifold
[−]
[src]
pub struct Manifold { pub time: f32, pub normal: Vector3<f32>, pub tangent_vector: [Vector3<f32>; 2], pub contacts: SmallVec<[(Point3<f32>, Point3<f32>); 4]>, }
A set of contacts between two objects.
Fields
time: f32
normal: Vector3<f32>
tangent_vector: [Vector3<f32>; 2]
contacts: SmallVec<[(Point3<f32>, Point3<f32>); 4]>
List of the local contact points.
Methods
impl Manifold
[src]
Trait Implementations
impl Clone for Manifold
[src]
fn clone(&self) -> Manifold
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Manifold
[src]
impl From<LocalContact> for Manifold
[src]
fn from(lc: LocalContact) -> Self
[src]
Performs the conversion.
impl<P: PruningParams> From<ContactPruner<P>> for Manifold
[src]
fn from(pruner: ContactPruner<P>) -> Self
[src]
Performs the conversion.