Template class fixes.

This commit is contained in:
David Williams
2008-04-20 20:44:14 +00:00
parent bc28e240f3
commit efce9b8c95
5 changed files with 50 additions and 50 deletions

View File

@ -73,14 +73,14 @@ namespace PolyVox
] = value;
}
/*void Block::fillWithValue(const uint8_t value)
/*void Block::fillWithValue(const VoxelType value)
{
memset(mData,value,POLYVOX_NO_OF_VOXELS_IN_BLOCK);
}*/
/*bool Block::isHomogeneous(void)
{
uint8_t uFirstVoxel = mData[0];
VoxelType uFirstVoxel = mData[0];
for(uint32_t ct = 1; ct < POLYVOX_NO_OF_VOXELS_IN_BLOCK; ++ct)
{
if(mData[ct] != uFirstVoxel)