I have this problem:
I have a point as vector3 (x,y,z) in 3d space, and its direction (vector3 x,y,z).
In the scene there are also many triangles eachone with 3 vertex (each vertex as a vector3)
this point moves along its direction, how can I know:
1. what triagle is hitted (I have many of them)
2. where exactly is hitted, as x,y,z coordinates
I'm using c++ for my project.