New answers tagged intersection
There are two things to take care of: Direction of a ray vector in accordance to triangle windings Actual representation of a ray vector ad. 1) Seems like gml::intersectLineTriangle() function needs a ray vector to point to a front face of a CCW triangle to work. This is not the case in Your code and You can do two things to fix it: originate a ray ...
Top 50 recent answers are included