diff -r 24275a4064f4 -r 8c9fff699241 src/maths.h --- a/src/maths.h Wed Jul 28 08:23:09 2021 +0300 +++ b/src/maths.h Wed Jul 28 13:22:51 2021 +0300 @@ -94,7 +94,8 @@ std::optional linePlaneIntersection(); } -inline unsigned int qHash(const glm::vec3& key) +template +inline unsigned int qHash(const glm::vec<3, T, Q>& key) { return qHash(key.x) ^ utility::rotl10(qHash(key.y)) ^ utility::rotl20(qHash(key.z)); }