src/vertexmap.h

changeset 333
07e65a4c6611
parent 309
d862721d19a3
child 338
719b909a7d2b
equal deleted inserted replaced
332:ae7f7fbb9cda 333:07e65a4c6611
12 Q_OBJECT 12 Q_OBJECT
13 public: 13 public:
14 struct VertexInfo 14 struct VertexInfo
15 { 15 {
16 glm::vec3 point; 16 glm::vec3 point;
17 std::set<ElementId> objects; 17 //std::set<ElementId> objects;
18 bool transformSet = false; 18 bool transformSet = false;
19 glm::mat4 transform; 19 glm::mat4 transform;
20 }; 20 };
21 using ApplyFunction = std::function<void(const glm::vec3&, const VertexInfo&)>; 21 using ApplyFunction = std::function<void(const glm::vec3&, const VertexInfo&)>;
22 VertexMap(const Model *model); 22 VertexMap(const Model *model);

mercurial