[][src]Trait mgf::Penetrates

pub trait Penetrates<RHS> {
    fn separation(&self, rhs: &RHS) -> Option<f32>;
}

A type that can penetrate another.

Required methods

fn separation(&self, rhs: &RHS) -> Option<f32>

Returns the minimum distance between the two object if they are not penetrating.

Loading content...

Implementors

impl<ShapeA, ShapeB> Penetrates<ShapeB> for ShapeA where
    ShapeA: Convex + Volumetric,
    ShapeB: Convex + Volumetric
[src]

Loading content...