src/linetypes/edge.cpp

changeset 77
028798a72591
parent 35
98906a94732f
child 81
62373840e33a
equal deleted inserted replaced
76:7c4a63a02632 77:028798a72591
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 }

mercurial