namespace gaemstone.Bloxel;
public static class Constants
{
// Amount of bit shifting to go from a BlockPos to a ChunkPos.
public const int ChunkBitShift = 4;
// Amount of bit masking to go from a BlockPos to a chunk-relative BlockPos.
public const int ChunkBitMask = ~(~0 << ChunkBitShift);
// Length of the egde of a world chunk.
public const int ChunkLength = 1 << ChunkBitShift;
}