src/ldrawalgorithm.cpp

changeset 248
29986dfd1750
parent 200
ca23936b455b
child 262
dc33f8a707c4
equal deleted inserted replaced
247:07ad61423c3c 248:29986dfd1750
52 return std::visit(overloaded{ 52 return std::visit(overloaded{
53 [](Colored<SubfileReference> ref) -> ModelElement { 53 [](Colored<SubfileReference> ref) -> ModelElement {
54 ref.inverted = not ref.inverted; 54 ref.inverted = not ref.inverted;
55 return ref; 55 return ref;
56 }, 56 },
57 [](Colored<CircularPrimitive> circ) -> ModelElement {
58 circ.inverted = not circ.inverted;
59 return circ;
60 },
57 [](Colored<Triangle> triangle) -> ModelElement { 61 [](Colored<Triangle> triangle) -> ModelElement {
58 std::swap(triangle.p1, triangle.p2); 62 std::swap(triangle.p1, triangle.p2);
59 return triangle; 63 return triangle;
60 }, 64 },
61 [](Colored<Quadrilateral> quad) -> ModelElement { 65 [](Colored<Quadrilateral> quad) -> ModelElement {

mercurial