DotRecastNetSim/src/DotRecast.Core/RcHashCodes.cs

10 lines
202 B
C#
Raw Normal View History

namespace DotRecast.Core
{
public static class RcHashCodes
{
public static int CombineHashCodes(int h1, int h2)
{
return (((h1 << 5) + h1) ^ h2);
}
}
}