clockwise triangles order

47 views
Skip to first unread message

easy

unread,
Aug 21, 2015, 8:05:27 AM8/21/15
to poly2tri
Hi,
Is there a possible to receive triangles in clockwise order?
i'm using unity and the result polygon i get is not seen until i rotate the plane in 180 degree along the Y Axis.
( i also want to avoid to fix this problem by manually rotate the plane )

help please

A Lynch

unread,
Sep 22, 2015, 7:56:34 AM9/22/15
to poly2tri
For each triangle output by poly2tri, change the order of the vertices by simply swapping two vertices. This will cause each triangle's normal to point in the opposite direction.
Reply all
Reply to author
Forward
0 new messages