diff -r fe094d0687ad -r c27612f0eac0 src/vertexmap.cpp --- a/src/vertexmap.cpp Wed Jun 22 23:51:06 2022 +0300 +++ b/src/vertexmap.cpp Sun Jun 26 19:44:45 2022 +0300 @@ -1,7 +1,7 @@ #include "vertexmap.h" #include "gl/common.h" -unsigned int hashVertex(const glm::vec3& vec) +hash_t hashVertex(const glm::vec3& vec) { return qHash(glm::ivec3{ int(vec.x * 10000), @@ -130,7 +130,7 @@ return glm::mat4{{a, 0}, {-c, 0}, {d, 0}, {}}; }); points(element, [&](const glm::vec3 point) { - const unsigned int hash = hashVertex(point); + const hash_t hash = hashVertex(point); VertexInfo& info = this->map[hash]; info.point = point; info.objects.insert(this->model->idAt(i));