Can someone check this triangle intersection code?

Blitz3D Forums/Blitz3D Programming/Can someone check this triangle intersection code?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Good function to have. I have a RayIntersectsPlane function in the maths3d.dll lib, but no triangle yet.

If all you need to do now is check the range of the ray, just find the distance between the start of the ray and the intersected point(?)