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:
David Williams
2015-04-09 23:44:25 +02:00
parent 27a59f34bc
commit a2fe1944af
2 changed files with 55 additions and 4 deletions

View File

@ -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;