Skip to main content

intersect_plane

Function intersect_plane 

Source
pub fn intersect_plane(
    ray: Ray3d,
    plane_normal: Vec3,
    plane_origin: Vec3,
) -> Option<Vec3>
Expand description

Intersect a ray with a plane defined by a normal and a point on the plane.