Struct mgf::Penetration[][src]

pub struct Penetration {
    pub a: Point3<f32>,
    pub b: Point3<f32>,
    pub n: Vector3<f32>,
}

A discrete point of contact between two objects.

Fields

Trait Implementations

impl Copy for Penetration
[src]

impl Clone for Penetration
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Penetration
[src]

Formats the value using the given formatter. Read more

impl PartialEq for Penetration
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Neg for Penetration
[src]

The resulting type after applying the - operator.

Negate the normal and swap contact points.

Auto Trait Implementations

impl Send for Penetration

impl Sync for Penetration