[][src]Function ncollide2d::query::ray_toi_with_plane

pub fn ray_toi_with_plane<N: RealField>(
    center: &Point<N>,
    normal: &Vector<N>,
    ray: &Ray<N>
) -> Option<N>

Computes the toi of a ray with a plane described by its center and normal.