Function ncollide3d::query::ray_toi_with_plane[][src]

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.