[−][src]Function oxygengine_physics_2d::prelude::ncollide2d::query::ray_toi_with_plane
pub fn ray_toi_with_plane<N>(
center: &Point<N, U2>,
normal: &Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>,
ray: &Ray<N>
) -> Option<N> where
N: RealField,
Computes the toi of a ray with a plane described by its center and normal.