Removing more calls to getVoxelAt()...

This commit is contained in:
Daviw Williams
2013-06-12 15:41:45 +02:00
parent efb6d12fc8
commit 3249562d97
3 changed files with 8 additions and 15 deletions

View File

@ -55,15 +55,8 @@ void createSphereInVolume(SimpleVolume<uint8_t>& volData, float fRadius)
if(fDistToCenter <= fRadius)
{
//Our new density value
//uint8_t uDensity = Density8::getmaxDensity()();
uint8_t uDensity = std::numeric_limits<uint8_t>::max();
//Get the old voxel
//uint8_t voxel = volData.getVoxelAt(x,y,z);
//Modify the density
//voxel.setDensity(uDensity);
//Wrte the voxel value into the volume
volData.setVoxelAt(x, y, z, uDensity);
}