src/invert.cpp

changeset 374
75efc3ba5a56
parent 306
6ad27b7d2697
equal deleted inserted replaced
373:e34d6a30b96d 374:75efc3ba5a56
34 } 34 }
35 35
36 /* 36 /*
37 * Inverts the winding of a polygon. 37 * Inverts the winding of a polygon.
38 */ 38 */
39 void gl::invert(PolygonElement& polygon) 39 void gl::invert(PlainPolygonElement& polygon)
40 { 40 {
41 visitPolygon<void>( 41 visitPolygon<void>(
42 [](LineSegment&) {}, 42 [](LineSegment&) {},
43 [](Triangle& tri) { 43 [](Triangle& tri) {
44 invert(tri); 44 invert(tri);

mercurial