Find the intersection of a line with a plane: Difference between revisions
Find the intersection of a line with a plane (view source)
Revision as of 02:25, 3 March 2020
, 4 years ago→{{header|11l}}
Alextretyak (talk | contribs) m (→{{header|11l}}) |
|||
Line 10:
<lang 11l>F intersection_point(ray_direction, ray_point, plane_normal, plane_point)
print(‘The ray intersects the plane at ’intersection_point((0.0, -1.0, -1.0), (0.0, 0.0, 10.0), (0.0, 0.0, 1.0), (0.0, 0.0, 5.0)))</lang>
|