Eliminated dome calls to getVoxelAt.

This commit is contained in:
Daviw Williams
2013-06-12 15:22:21 +02:00
parent 45af7a4246
commit efb6d12fc8
2 changed files with 7 additions and 18 deletions

View File

@ -40,7 +40,7 @@ bool testVoxelValidator(const VolumeType* volData, const Vector3DInt32& v3dPos)
return false;
}
typename VolumeType::VoxelType voxel = volData->getVoxelAt(v3dPos);
typename VolumeType::VoxelType voxel = volData->getVoxel<WrapModes::None>(v3dPos);
if(voxel != 0)
{
return false;