Small tweaks.

This commit is contained in:
David Williams
2009-04-20 19:23:11 +00:00
parent c627c90cd0
commit 0b847eb271
3 changed files with 21 additions and 9 deletions

View File

@ -148,7 +148,7 @@ namespace PolyVox
{
const uint8_t uSize = 1 << uLevel;
VoxelType tValue = std::numeric_limits<VoxelType>::max();
VoxelType tValue = (std::numeric_limits<VoxelType>::max)();
for(uint8_t z = 0; z < uSize; ++z)
{
for(uint8_t y = 0; y < uSize; ++y)