--- a/src/basics.cpp Wed Feb 17 03:24:07 2016 +0200 +++ b/src/basics.cpp Wed Feb 17 19:54:21 2016 +0200 @@ -362,4 +362,9 @@ const Vertex& BoundingBox::vertex1() const { return m_vertex1; -} \ No newline at end of file +} + +uint qHash(const Vertex& key) +{ + return qHash(static_cast<const QVector3D&>(key)); +}