1
0
Fork 0
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:
bolero-MURAKAMI 2016-02-27 13:01:43 +09:00
parent 2d9b3b4b99
commit 1fabe7da1c

View file

@ -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 {