src/vertexmap.h

changeset 309
d862721d19a3
parent 264
76a025db4948
child 333
07e65a4c6611
equal deleted inserted replaced
308:daa8770b9d26 309:d862721d19a3
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<ModelId> 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