Renamed getMidDensity() to getThreshold().

This commit is contained in:
David Williams
2010-07-13 21:00:30 +00:00
parent bffacbcb6a
commit 8d000e9235
3 changed files with 32 additions and 32 deletions

View File

@ -107,7 +107,7 @@ namespace PolyVox
}
template <typename Type, uint8_t NoOfMaterialBits, uint8_t NoOfDensityBits>
Type MaterialDensityPair<Type, NoOfMaterialBits, NoOfDensityBits>::getMidDensity() throw()
Type MaterialDensityPair<Type, NoOfMaterialBits, NoOfDensityBits>::getThreshold() throw()
{
return 0x01 << (NoOfDensityBits - 1);
}