You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created the first polygon with polygon = Polygon2D.Contour (pointlist.ToArray()); triangulation = new Triangulation2D (polygon, threshold); go = Instantiate(prefab); go.GetComponent<DemoMesh>().SetTriangulation(triangulation);
However, when i feed polygon with a reversed pointlist, i get a polygon with the same face. Whats the correct way to do this without a custom shader as was done in the demo?
The text was updated successfully, but these errors were encountered:
I've created the first polygon with
polygon = Polygon2D.Contour (pointlist.ToArray()); triangulation = new Triangulation2D (polygon, threshold); go = Instantiate(prefab); go.GetComponent<DemoMesh>().SetTriangulation(triangulation);
However, when i feed polygon with a reversed pointlist, i get a polygon with the same face. Whats the correct way to do this without a custom shader as was done in the demo?
The text was updated successfully, but these errors were encountered: