Trait mgf::Penetrates
[−]
[src]
pub trait Penetrates<RHS> { fn seperation(&self, rhs: &RHS) -> Option<f32>; }
A type that can penetrate another.
Required Methods
fn seperation(&self, rhs: &RHS) -> Option<f32>
Returns the minimum distance between the two object if they are not penetrating.
Implementors
impl<ShapeA, ShapeB> Penetrates<ShapeB> for ShapeA where
ShapeA: Convex + Volumetric,
ShapeB: Convex + Volumetric,