Removed redundant comparison operators from VoxelTypes.

This commit is contained in:
David Williams
2011-03-29 20:48:38 +00:00
parent 03b690673a
commit ba6cd1c872
3 changed files with 0 additions and 34 deletions

View File

@ -61,16 +61,6 @@ namespace PolyVox
return !(*this == rhs);
}
bool operator<(const Material& rhs) const throw()
{
if (m_uMaterial < rhs.m_uMaterial)
return true;
if (rhs.m_uMaterial < m_uMaterial)
return false;
return false;
}
Type getDensity() const throw()
{
//We don't actually have a density, so make one up based on the material.