[−][src]Function ncollide_geometry::query::ray_internal::ball_toi_with_ray
pub fn ball_toi_with_ray<P>(
center: &P,
radius: P::Real,
ray: &Ray<P>,
solid: bool
) -> (bool, Option<P::Real>) where
P: Point,
Computes the time of impact of a ray on a ball.