Reputation: 252
I have a 3D triangle defined by three Vector3D
instances. And I have a ray that shoots from (x, y, 0) (depth value is always 0) and goes farther (the depth value becomes larger). How can I know:
Thanks.
Upvotes: 0
Views: 439
Reputation: 1438
Check here for solution http://www.softsurfer.com/Archive/algorithm_0105/algorithm_0105.htm#intersect_RayTriangle()
Upvotes: 1