press space ig so i got vectors from the vertices to the point and then did dot products between each of them (i did one extra here because you can do some cool stuff), and if they are all positive, it's outside of tri. clearly it didn't work lol but this representation helped me figure out why
the concept and code is be me