Function barycentricCoord

Returns the Barycentric coordinate of a point within a triangle