Function oxygengine_physics_2d::prelude::ncollide2d::query::line_toi_with_plane
source · pub fn line_toi_with_plane<N>(
plane_center: &OPoint<N, Const<2>>,
plane_normal: &Matrix<N, Const<nalgebra::::base::dimension::U2::{constant#0}>, Const<1>, ArrayStorage<N, 2, 1>>,
line_origin: &OPoint<N, Const<2>>,
line_dir: &Matrix<N, Const<nalgebra::::base::dimension::U2::{constant#0}>, Const<1>, ArrayStorage<N, 2, 1>>
) -> Option<N>where
N: RealField + Copy,
Expand description
Computes the toi of an unbounded line with a plane described by its center and normal.