mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-04 20:57:49 +00:00
GEEKING
This commit is contained in:
@@ -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));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user