comparison: src/linetypes/quadrilateral.cpp
src/linetypes/quadrilateral.cpp
- changeset 26
- 3a9e761e4faa
- parent 21
- 0133e565e072
- child 33
- 4c41bfe2ec6e
equal
deleted
inserted
replaced
76 this->points[0], |
76 this->points[0], |
77 this->points[1], |
77 this->points[1], |
78 this->points[2], |
78 this->points[2], |
79 this->points[3], |
79 this->points[3], |
80 this->colorIndex, |
80 this->colorIndex, |
81 this->id)); |
81 this->id)); |
82 } |
82 } |
|
83 |
|
84 void linetypes::Quadrilateral::invert() |
|
85 { |
|
86 // 0 1 2 3 |
|
87 // -> 2 1 0 3 |
|
88 std::swap(this->points[0], this->points[2]); |
|
89 } |