src/linetypes/quadrilateral.cpp

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

mercurial