pub trait Collision<Rhs> {
    fn collides(&self, rhs: &Rhs) -> Option<Contact>;
}
Expand description

Trait for determining the collision between two shapes

Required methods

Whether this shape collides with the other, and where

Implementors