[][src]Function oxygengine_physics_2d::prelude::ncollide2d::query::line_toi_with_plane

pub fn line_toi_with_plane<N>(
    plane_center: &Point<N, U2>,
    plane_normal: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>,
    line_origin: &Point<N, U2>,
    line_dir: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>
) -> Option<N> where
    N: RealField

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