Revert "Added typedef for ChunkKey."

This reverts commit 905ec27f47.
This commit is contained in:
David Williams
2015-03-21 14:40:30 +01:00
parent f574563672
commit 0c619ebec7
3 changed files with 29 additions and 18 deletions

View File

@ -97,7 +97,7 @@ namespace PolyVox
// Base version updates position and validity flags.
BaseVolume<VoxelType>::template Sampler< PagedVolume<VoxelType> >::setPosition(xPos, yPos, zPos);
const ChunkKey key = this->mVolume->posToChunkKey(xPos, yPos, zPos);
const uint64_t key = this->mVolume->posToChunkKey(xPos, yPos, zPos);
// Then we update the voxel pointer.
auto pCurrentChunk = (key == this->mVolume->m_v3dLastAccessedChunkKey) ? this->mVolume->m_pLastAccessedChunk : this->mVolume->getChunk(key);