Function ncollide3d::query::line_toi_with_plane[][src]

pub fn line_toi_with_plane<N: RealField>(
    plane_center: &Point<N>,
    plane_normal: &Vector<N>,
    line_origin: &Point<N>,
    line_dir: &Vector<N>
) -> Option<N>

Computes the toi of an unbounded line with a plane described by its center and normal.