24 void apply(ApplyFunction fn) const; |
24 void apply(ApplyFunction fn) const; |
25 Q_SIGNALS: |
25 Q_SIGNALS: |
26 Q_SIGNAL void verticesChanged(); |
26 Q_SIGNAL void verticesChanged(); |
27 private: |
27 private: |
28 const Model* const model; |
28 const Model* const model; |
29 QSet<unsigned int> vertexHashes; |
29 QSet<hash_t> vertexHashes; |
30 std::vector<glm::vec3> vertices; |
30 std::vector<glm::vec3> vertices; |
31 std::map<unsigned int, VertexInfo> map; |
31 std::map<hash_t, VertexInfo> map; |
32 }; |
32 }; |
33 |
33 |
34 #endif // VERTEXMAP_H |
34 #endif // VERTEXMAP_H |