6 const Color color_index) : |
6 const Color color_index) : |
7 ColoredObject{color_index}, |
7 ColoredObject{color_index}, |
8 point_1{point_1}, |
8 point_1{point_1}, |
9 point_2{point_2} {} |
9 point_2{point_2} {} |
10 |
10 |
11 ldraw::Edge::Edge(const QVector<glm::vec3>& vertices, const Color color) : |
11 ldraw::Edge::Edge(const std::array<glm::vec3, 2>& vertices, const Color color) : |
12 ColoredObject{color}, |
12 ColoredObject{color}, |
13 point_1{vertices[0]}, |
13 point_1{vertices[0]}, |
14 point_2{vertices[1]} |
14 point_2{vertices[1]} |
15 { |
15 { |
16 } |
16 } |