Initial work on replacing std::unordered_map with a specialized hash table for looking up chunks based on their 3D position.
This commit is contained in:
@ -310,6 +310,8 @@ namespace PolyVox
|
||||
// The size of the volume
|
||||
//Region m_regValidRegionInChunks;
|
||||
|
||||
mutable std::unique_ptr< Chunk > m_arrayChunks[16384];
|
||||
|
||||
// The size of the chunks
|
||||
uint16_t m_uChunkSideLength;
|
||||
uint8_t m_uChunkSideLengthPower;
|
||||
|
Reference in New Issue
Block a user