There's something like this in the code archives. I can't recall whereabouts, but it definetly is in there somewhere...
How to test if inside a triangle
Blitz3D Forums/Blitz3D Beginners Area/How to test if inside a triangleThe 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.