Fix + indent, again

This commit is contained in:
S6066 2016-10-12 18:22:57 +02:00 committed by GitHub
parent 255b1cce07
commit c5c4ef2c09
1 changed files with 16 additions and 14 deletions

View File

@ -1353,25 +1353,27 @@ namespace std
template<class T>
struct hash<Nz::Vector3<T>>
{
/*!
* \brief Specialisation of std to hash
* \return Result of the hash
*
* \param v Vector3 to hash
*/
/*!
* \brief Specialisation of std to hash
* \return Result of the hash
*
* \param v Vector3 to hash
*/
std::size_t operator()(const Nz::Vector3<T>& v) const
{
std::size_t seed {};
std::size_t operator()(const Nz::Vector3<T>& v) const
{
std::size_t seed {};
Nz::HashCombine(seed, v.x);
Nz::HashCombine(seed, v.y);
Nz::HashCombine(seed, v.z);
Nz::HashCombine(seed, v.x);
Nz::HashCombine(seed, v.y);
Nz::HashCombine(seed, v.z);
return seed;
}
return seed;
}
};
}
#undef F
#include <Nazara/Core/DebugOff.hpp>