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); |