Commit commented out version of the code which fixes the build on Linux

This commit is contained in:
Matt Williams 2009-08-31 21:52:46 +00:00
parent 9f92a07823
commit 5ca6178e10

View File

@ -147,6 +147,12 @@ namespace PolyVox
void Block<VoxelType>::fill(VoxelType tValue)
{
memset(m_tData, (int)tValue, m_uSideLength * m_uSideLength * m_uSideLength * sizeof(VoxelType));
//This next block fixes the compile error on Linux
/*const uint32_t uNoOfVoxels = m_uSideLength * m_uSideLength * m_uSideLength;
for(uint32_t ct = 0; ct < uNoOfVoxels; ++ct)
{
m_tData[ct] = tValue;
}*/
}
template <typename VoxelType>