compute Triangle Intersection
Computes the Cartesian intersection point of a specified line with a triangle. Taken from Moller and Trumbore.
Parameters
vertex0
The triangle's first vertex.
vertex1
The triangle's second vertex.
vertex2
The triangle's third vertex.
result
A pre-allocated Vec3 instance in which to return the computed point.