void applyTriangulationCompatibleWinding( ref List<Vertices> detectedPolygons )
{
for( int i = 0; i < detectedPolygons.Count; i++ )
{
detectedPolygons[i].Reverse();
if( detectedPolygons[i].holes != null && detectedPolygons[i].holes.Count > 0 )
{
for( int j = 0; j < detectedPolygons[i].holes.Count; j++ )
detectedPolygons[i].holes[j].Reverse();
}
}
}