Trait mgf::Penetrates [−][src]
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.
Implementors
impl<ShapeA, ShapeB> Penetrates<ShapeB> for ShapeA where
ShapeA: Convex + Volumetric,
ShapeB: Convex + Volumetric,