17 void apply(ApplyFunction fn) const; |
17 void apply(ApplyFunction fn) const; |
18 Q_SIGNALS: |
18 Q_SIGNALS: |
19 Q_SIGNAL void verticesChanged(); |
19 Q_SIGNAL void verticesChanged(); |
20 private: |
20 private: |
21 const Model* const model; |
21 const Model* const model; |
22 std::map<unsigned int, glm::vec3> vertices; |
22 QSet<unsigned int> vertexHashes; |
|
23 std::vector<glm::vec3> vertices; |
23 std::map<unsigned int, std::set<ldraw::id_t>> map; |
24 std::map<unsigned int, std::set<ldraw::id_t>> map; |
24 }; |
25 }; |
25 |
26 |
26 #endif // VERTEXMAP_H |
27 #endif // VERTEXMAP_H |