SharpNav.PolyMesh.ULeft C# (CSharp) Method

ULeft() private static method

Determines whether the vertices follow a certain order
private static ULeft ( PolyVertex a, PolyVertex b, PolyVertex c ) : bool
a PolyVertex Vertex A
b PolyVertex Vertex B
c PolyVertex Vertex C
return bool
        private static bool ULeft(PolyVertex a, PolyVertex b, PolyVertex c)
        {
            return (b.X - a.X) * (c.Z - a.Z) -
                (c.X - a.X) * (b.Z - a.Z) < 0;
        }