5:593a658cba8e | 6:73e448b2943d |
---|---|
211 | 211 |
212 unsigned int qHash(const Vertex& key) | 212 unsigned int qHash(const Vertex& key) |
213 { | 213 { |
214 return qHash(key.x) ^ rotl10(qHash(key.y)) ^ rotl20(qHash(key.z)); | 214 return qHash(key.x) ^ rotl10(qHash(key.y)) ^ rotl20(qHash(key.z)); |
215 } | 215 } |
216 | |
217 QString vertexToStringParens(const Vertex& vertex) | |
218 { | |
219 return format("(%1, %2, %3)", vertex.x, vertex.y, vertex.z); | |
220 } |