pub fn time_of_impact<N: RealField>(
g1: &dyn Shape<N>,
g2: &dyn Shape<N>,
) -> Option<TOI<N>>
Computes the smallest time at with two shapes under translational movement are separated by a
distance smaller or equal to
0.0 if the objects are touching or penetrating.