src/linetypes/edge.cpp

changeset 77
028798a72591
parent 35
98906a94732f
child 81
62373840e33a
--- a/src/linetypes/edge.cpp	Mon Mar 09 22:12:50 2020 +0200
+++ b/src/linetypes/edge.cpp	Mon Mar 09 23:42:26 2020 +0200
@@ -8,7 +8,7 @@
 	point_1{point_1},
 	point_2{point_2} {}
 
-ldraw::Edge::Edge(const QVector<glm::vec3>& vertices, const Color color) :
+ldraw::Edge::Edge(const std::array<glm::vec3, 2>& vertices, const Color color) :
 	ColoredObject{color},
 	point_1{vertices[0]},
 	point_2{vertices[1]}

mercurial