Files
watrbx-game-engine/App/util/Vector3int32.cpp
T
2025-09-18 17:55:52 -04:00

20 lines
400 B
C++

#include "stdafx.h"
#include "Util/Vector3int32.h"
namespace RBX {
std::ostream& operator<<(std::ostream& os, const Vector3int32& v) {
return os << G3D::format("(%d, %d, %d)", v.x, v.y, v.z);
}
::std::size_t hash_value(const RBX::Vector3int32& v)
{
size_t seed = 0;
boost::hash_combine(seed, v.x);
boost::hash_combine(seed, v.y);
boost::hash_combine(seed, v.z);
return seed;
}
}