This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#include "stdafx.h"
#include "util/PhysicalProperties.h"
namespace RBX {
size_t PhysicalProperties::hashCode() const
{
size_t seed = 0;
boost::hash_combine(seed, customEnabled);
boost::hash_combine(seed, density);
boost::hash_combine(seed, friction);
boost::hash_combine(seed, frictionWeight);
boost::hash_combine(seed, elasticity);
boost::hash_combine(seed, elasticityWeight);
return seed;
}
size_t hash_value(const PhysicalProperties& properties)
{
return properties.hashCode();
}
}