mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +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,6 +15,7 @@
|
|||
#include <sprout/functional/hash.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace math {
|
||||
//
|
||||
// hash_value
|
||||
//
|
||||
|
@ -23,6 +24,7 @@ namespace sprout {
|
|||
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 std {
|
||||
|
|
Loading…
Reference in a new issue