16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 */ |
17 */ |
18 |
18 |
19 #include "quadrilateral.h" |
19 #include "quadrilateral.h" |
20 |
20 |
21 LDQuadrilateral::LDQuadrilateral(Model *model) : |
21 LDQuadrilateral::LDQuadrilateral(const Vertex& v1, const Vertex& v2, const Vertex& v3, const Vertex& v4) |
22 LDObject {model} {} |
|
23 |
|
24 LDQuadrilateral::LDQuadrilateral(const Vertex& v1, const Vertex& v2, const Vertex& v3, const Vertex& v4, Model* model) : |
|
25 LDObject {model} |
|
26 { |
22 { |
27 setVertex(0, v1); |
23 setVertex(0, v1); |
28 setVertex(1, v2); |
24 setVertex(1, v2); |
29 setVertex(2, v3); |
25 setVertex(2, v3); |
30 setVertex(3, v4); |
26 setVertex(3, v4); |