[][src]Function ncollide2d::query::ray_internal::ball_toi_with_ray

pub fn ball_toi_with_ray<N: Real>(
    center: &Point<N>,
    radius: N,
    ray: &Ray<N>,
    solid: bool
) -> (bool, Option<N>)

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