diff --git a/glm/gtx/hash.hpp b/glm/gtx/hash.hpp index cfb79baa..fe8a3efd 100644 --- a/glm/gtx/hash.hpp +++ b/glm/gtx/hash.hpp @@ -44,94 +44,94 @@ namespace std { - template - struct hash > + template + struct hash > { GLM_FUNC_DECL size_t operator()(glm::vec<1, T, Q> const& v) const; }; - template - struct hash > + template + struct hash > { GLM_FUNC_DECL size_t operator()(glm::vec<2, T, Q> const& v) const; }; - template - struct hash > + template + struct hash > { GLM_FUNC_DECL size_t operator()(glm::vec<3, T, Q> const& v) const; }; - template - struct hash > + template + struct hash > { GLM_FUNC_DECL size_t operator()(glm::vec<4, T, Q> const& v) const; }; - template - struct hash> + template + struct hash> { GLM_FUNC_DECL size_t operator()(glm::tquat const& q) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::tdualquat const& q) const; + GLM_FUNC_DECL size_t operator()(glm::tdualquat const& q) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<2, 2, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<2, 2, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<2, 3, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<2, 3, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<2, 4, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<2, 4, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<3, 2, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<3, 2, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<3, 3, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<3, 3, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<3, 4, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<3, 4, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<4, 2, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<4, 2, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<4, 3, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<4, 3, T,Q> const& m) const; }; - template - struct hash > + template + struct hash > { - GLM_FUNC_DECL size_t operator()(glm::mat<4, 4, T,P> const& m) const; + GLM_FUNC_DECL size_t operator()(glm::mat<4, 4, T,Q> const& m) const; }; } // namespace std diff --git a/glm/gtx/hash.inl b/glm/gtx/hash.inl index 5370e5d1..32e7f123 100644 --- a/glm/gtx/hash.inl +++ b/glm/gtx/hash.inl @@ -22,14 +22,14 @@ namespace detail namespace std { - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::vec<1, T, Q> const& v) const { hash hasher; return hasher(v.x); } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::vec<2, T, Q> const& v) const { size_t seed = 0; @@ -39,7 +39,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::vec<3, T, Q> const& v) const { size_t seed = 0; @@ -50,7 +50,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::vec<4, T, Q> const& v) const { size_t seed = 0; @@ -62,8 +62,8 @@ namespace std return seed; } - template - GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::tquat const& q) const + template + GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::tquat const& q) const { size_t seed = 0; hash hasher; @@ -74,7 +74,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::tdualquat const& q) const { size_t seed = 0; @@ -84,7 +84,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<2, 2, T, Q> const& m) const { size_t seed = 0; @@ -94,7 +94,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<2, 3, T, Q> const& m) const { size_t seed = 0; @@ -104,7 +104,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<2, 4, T, Q> const& m) const { size_t seed = 0; @@ -114,7 +114,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<3, 2, T, Q> const& m) const { size_t seed = 0; @@ -125,7 +125,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<3, 3, T, Q> const& m) const { size_t seed = 0; @@ -136,7 +136,7 @@ namespace std return seed; } - template + template GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<3, 4, T, Q> const& m) const { size_t seed = 0; @@ -147,8 +147,8 @@ namespace std return seed; } - template - GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<4, 2, T,P> const& m) const + template + GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<4, 2, T,Q> const& m) const { size_t seed = 0; hash> hasher; @@ -159,8 +159,8 @@ namespace std return seed; } - template - GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<4, 3, T,P> const& m) const + template + GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<4, 3, T,Q> const& m) const { size_t seed = 0; hash> hasher; @@ -171,8 +171,8 @@ namespace std return seed; } - template - GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<4, 4, T, Q> const& m) const + template + GLM_FUNC_QUALIFIER size_t hash>::operator()(glm::mat<4, 4, T, Q> const& m) const { size_t seed = 0; hash> hasher;