raycast_path

Function raycast_path 

Source
pub fn raycast_path<Iter>(ray: &Ray, path: Iter, tolerance: f32) -> Option<Hit>
where Iter: IntoIterator<Item = PathEvent>,
Expand description

Find the closest collision between a ray and the path.