internal MxVector3(MxVertex vert) { var pos = vert.Pos; elt[0] = pos[0]; elt[1] = pos[1]; elt[2] = pos[2]; }
internal MxVertex(MxVertex vert) { Info = vert.Info; }
internal int AddVertex(MxVertex vert) { return(AddVertex(vert[0], vert[1], vert[2])); }
internal void Vertex(int vertId, MxVertex vertex) { Vertices[vertId] = vertex; }
private static bool IsWoundClockwise(MxVertex a, MxVertex b, MxVertex c) { var area = ((b[0] - a[0]) * (c[1] - a[1])) - ((b[1] - a[1]) * (c[0] - a[0])); return (area < 0.0); }
internal int AddVertex(MxVertex vert) { return AddVertex(vert[0], vert[1], vert[2]); }