src/linetypes/quadrilateral.cpp

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

mercurial