Intersections with polygons
Intersection with the plane of the polygon:
To find the normal, compute the cross product of
any two adjacent edges that are not parallel.
parametric equation of the ray:
implicit equation of the plane:
intersection point position: