[−][src]Function parry2d::query::nonlinear_time_of_impact
pub fn nonlinear_time_of_impact(
motion1: &dyn RigidMotion,
g1: &dyn Shape,
motion2: &dyn RigidMotion,
g2: &dyn Shape,
max_toi: Real,
target_distance: Real
) -> Result<Option<TOI>, Unsupported>
Computes the smallest time of impact of two shapes under arbitrary smooth movement.