src/linetypes/quadrilateral.cpp

changeset 183
97b591813c8b
parent 177
f69d53c053df
equal deleted inserted replaced
182:27fb1c3c9fbb 183:97b591813c8b
21 this->points[3], 21 this->points[3],
22 this->colorIndex, 22 this->colorIndex,
23 this->id)); 23 this->id));
24 } 24 }
25 25
26 void ldraw::Quadrilateral::invert() 26 void ldraw::Quadrilateral::invert(GetPolygonsContext *)
27 { 27 {
28 // 0 1 2 3 28 // 0 1 2 3
29 // -> 2 1 0 3 29 // -> 2 1 0 3
30 std::swap(this->points[0], this->points[2]); 30 std::swap(this->points[0], this->points[2]);
31 } 31 }

mercurial