src/vertexmap.h

changeset 200
ca23936b455b
parent 120
8c9fff699241
child 206
654661eab7f3
equal deleted inserted replaced
199:6988973515d2 200:ca23936b455b
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<ldraw::id_t> objects; 17 std::set<ModelId> 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