pub fn ray_toi_with_halfspace( center: &Point<Real>, normal: &Vector<Real>, ray: &Ray) -> Option<Real>
Computes the toi of a ray with a halfspace described by its center and normal.