pub trait ProximityDispatcher<N>: Any + Send + Sync {
    fn get_proximity_algorithm(
        &self,
        a: &dyn Shape<N>,
        b: &dyn Shape<N>
    ) -> Option<ProximityAlgorithm<N>>; }

Required Methods§

Allocate a collision algorithm corresponding to the given pair of shapes.

Implementors§