UPDATED: Test if point in triangle

remixed by TheLogFather
See inside
Notes and Credits (added by TheLogFather)

== UPDATED: slightly quicker than original script (less nesting) ==
Just a quick demo of a script that shows how I'd go about testing if a point is within a triangle.
If you compare it with the original projects then you may well be able to see how the expressions in this script here relate to what was happening in the original projects.
(I think it's also [usually] a teensy bit quicker than those scripts, since it often gets out after testing only one or two of the cases, on average – of course, there could be situations where nearly all of the tris might end up getting to the final test of the three, in which case it might end up a bit slower...)

Shared: 27 Dec 2016 Modified: 28 Dec 2016
Favorite this project 22
Love this project 38
Total views 616
View the remix tree  12
More projects by TheLogFather