182:27fb1c3c9fbb | 183:97b591813c8b |
---|---|
19 this->points[2], | 19 this->points[2], |
20 this->colorIndex, | 20 this->colorIndex, |
21 this->id)); | 21 this->id)); |
22 } | 22 } |
23 | 23 |
24 void ldraw::Triangle::invert() | 24 void ldraw::Triangle::invert(GetPolygonsContext *) |
25 { | 25 { |
26 // 0 1 2 | 26 // 0 1 2 |
27 // -> 1 0 2 | 27 // -> 1 0 2 |
28 std::swap(this->points[0], this->points[1]); | 28 std::swap(this->points[0], this->points[1]); |
29 } | 29 } |