119:24275a4064f4 | 120:8c9fff699241 |
---|---|
92 } | 92 } |
93 | 93 |
94 std::optional<glm::vec3> linePlaneIntersection(); | 94 std::optional<glm::vec3> linePlaneIntersection(); |
95 } | 95 } |
96 | 96 |
97 inline unsigned int qHash(const glm::vec3& key) | 97 template<typename T, glm::qualifier Q> |
98 inline unsigned int qHash(const glm::vec<3, T, Q>& key) | |
98 { | 99 { |
99 return qHash(key.x) ^ utility::rotl10(qHash(key.y)) ^ utility::rotl20(qHash(key.z)); | 100 return qHash(key.x) ^ utility::rotl10(qHash(key.y)) ^ utility::rotl20(qHash(key.z)); |
100 } | 101 } |