PR-82: Fix indent
This commit is contained in:
@@ -1349,29 +1349,27 @@ Nz::Vector3<T> operator/(T scale, const Nz::Vector3<T>& vec)
|
||||
|
||||
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
|
||||
*/
|
||||
|
||||
std::size_t operator()(const Nz::Vector3<T>& v) const
|
||||
template<class T>
|
||||
struct hash<Nz::Vector3<T>>
|
||||
{
|
||||
std::size_t seed {};
|
||||
/*!
|
||||
* \brief Specialisation of std to hash
|
||||
* \return Result of the hash
|
||||
*
|
||||
* \param v Vector3 to hash
|
||||
*/
|
||||
|
||||
Nz::HashCombine(seed, v.x);
|
||||
Nz::HashCombine(seed, v.y);
|
||||
Nz::HashCombine(seed, v.z);
|
||||
std::size_t operator()(const Nz::Vector3<T>& v) const
|
||||
{
|
||||
std::size_t seed {};
|
||||
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
Nz::HashCombine(seed, v.x);
|
||||
Nz::HashCombine(seed, v.y);
|
||||
Nz::HashCombine(seed, v.z);
|
||||
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
#undef F
|
||||
|
||||
Reference in New Issue
Block a user