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
+28
View File
@@ -0,0 +1,28 @@
#include "stdafx.h"
#include "Util/SpatialRegion.h"
#include "Voxel/Cell.h"
namespace RBX {
namespace SpatialRegion {
std::size_t hash_value(const Id& key)
{
Id::boost_compatible_hash_value hash;
return hash(key);
}
namespace _PrivateConstants {
const Vector3int16 kRegionDimensionInStudsAsBitShifts(
getRegionDimensionInVoxelsAsBitShifts() +
Vector3int16(Voxel::kCELL_SIZE_AS_BIT_SHIFT,
Voxel::kCELL_SIZE_AS_BIT_SHIFT,
Voxel::kCELL_SIZE_AS_BIT_SHIFT));
}
}
}