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
a: Point3<f32>
b: Point3<f32>
n: Vector3<f32>
Trait Implementations
impl Copy for Penetration
[src]
impl Clone for Penetration
[src]
fn clone(&self) -> Penetration
[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 Penetration
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Penetration
[src]
fn eq(&self, __arg_0: &Penetration) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Penetration) -> bool
[src]
This method tests for !=
.
impl Neg for Penetration
[src]
type Output = Penetration
The resulting type after applying the -
operator.
fn neg(self) -> Self
[src]
Negate the normal and swap contact points.