mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-02-03 09:23:58 +00:00
fix quaternion hash_value function
This commit is contained in:
parent
2d9b3b4b99
commit
1fabe7da1c
1 changed files with 10 additions and 8 deletions
|
@ -15,14 +15,16 @@
|
||||||
#include <sprout/functional/hash.hpp>
|
#include <sprout/functional/hash.hpp>
|
||||||
|
|
||||||
namespace sprout {
|
namespace sprout {
|
||||||
//
|
namespace math {
|
||||||
// hash_value
|
//
|
||||||
//
|
// hash_value
|
||||||
template<typename T>
|
//
|
||||||
inline SPROUT_CONSTEXPR std::size_t
|
template<typename T>
|
||||||
hash_value(sprout::math::quaternion<T> const& v) {
|
inline SPROUT_CONSTEXPR std::size_t
|
||||||
return sprout::hash_values(v[0], v[1], v[2], v[3]);
|
hash_value(sprout::math::quaternion<T> const& v) {
|
||||||
}
|
return sprout::hash_values(v[0], v[1], v[2], v[3]);
|
||||||
|
}
|
||||||
|
} // namespace math
|
||||||
} // namespace sprout
|
} // namespace sprout
|
||||||
|
|
||||||
namespace std {
|
namespace std {
|
||||||
|
|
Loading…
Add table
Reference in a new issue