PointInTriangleSample Sample of various ways determination whether point lies inside triangle. There are five ways: Calculating normals; Which side the point is; Sum of the angles between vectors; Barycentric coordinate system; Calculate areas of the triangles.