src/vertexmap.h

changeset 259
c27612f0eac0
parent 206
654661eab7f3
child 264
76a025db4948
equal deleted inserted replaced
258:fe094d0687ad 259:c27612f0eac0
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

mercurial