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

Trait Implementations

impl Copy for LocalContact
[src]

impl Clone for LocalContact
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for LocalContact
[src]

[src]

Formats the value using the given formatter.

impl Neg for LocalContact
[src]

The resulting type after applying the - operator.

[src]

Negate the normal and swap contact points