9 ColoredObject{color_index}, |
9 ColoredObject{color_index}, |
10 points{point_1, point_2, point_3, point_4} |
10 points{point_1, point_2, point_3, point_4} |
11 { |
11 { |
12 } |
12 } |
13 |
13 |
14 ldraw::Quadrilateral::Quadrilateral(const QVector<glm::vec3>& vertices, const Color color) : |
14 ldraw::Quadrilateral::Quadrilateral(const std::array<glm::vec3, 4>& vertices, const Color color) : |
15 ColoredObject{color}, |
15 ColoredObject{color}, |
16 points{vertices[0], vertices[1], vertices[2], vertices[3]} |
16 points{vertices[0], vertices[1], vertices[2], vertices[3]} |
17 { |
17 { |
18 } |
18 } |
19 |
19 |