Changed a couple of 'getVoxelAt()' to 'getVoxel()'.

This commit is contained in:
Daviw Williams
2013-06-12 13:38:36 +02:00
parent 1f2b7e4742
commit 60d6658e1a
4 changed files with 8 additions and 8 deletions

View File

@ -184,7 +184,7 @@ void createSphereInVolume(LargeVolume<MaterialDensityPair44>& volData, Vector3DF
uint8_t uDensity = MaterialDensityPair44::getMaxDensity();
//Get the old voxel
MaterialDensityPair44 voxel = volData.getVoxelAt(x,y,z);
MaterialDensityPair44 voxel = volData.getVoxel(x,y,z);
//Modify the density
voxel.setDensity(uDensity);