[src]

Function ncollide2df64::ray::ball_toi_with_ray

pub fn ball_toi_with_ray(center: V, radius: N, ray: &Ray) -> Option<N>

Computes the time of impact of a ray on a ball.