Struct mgf::LocalContact
[−]
[src]
pub struct LocalContact {
pub local_a: Point3<f32>,
pub local_b: Point3<f32>,
pub global: Contact,
}A local contact stores a contact plus the contact points relative to the space of the objects colliding.
Fields
local_a: Point3<f32>
local_b: Point3<f32>
global: Contact
Trait Implementations
impl Copy for LocalContact[src]
impl Clone for LocalContact[src]
fn clone(&self) -> LocalContact[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 LocalContact[src]
impl Neg for LocalContact[src]
type Output = LocalContact
The resulting type after applying the - operator.
fn neg(self) -> Self[src]
Negate the normal and swap contact points