In this video we figure out a computationally efficient method for determining if a point lies within a triangle.
C# code for the method can be found here: https://github.com/SebLague/GamedevM...
If you'd like to support these videos, you can do so with a recurring pledge on Patreon, or a onetime donation through PayPal. / sebastianlague
https://www.paypal.me/SebastianLague