Removed redundant comparison operators from VoxelTypes.
This commit is contained in:
@ -58,16 +58,6 @@ namespace PolyVox
|
||||
return !(*this == rhs);
|
||||
}
|
||||
|
||||
bool operator<(const Density& rhs) const throw()
|
||||
{
|
||||
if (m_uDensity < rhs.m_uDensity)
|
||||
return true;
|
||||
if (rhs.m_uDensity < m_uDensity)
|
||||
return false;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Type getDensity() const throw() { return m_uDensity; }
|
||||
Type getMaterial() const throw() { return 1; }
|
||||
|
||||
|
Reference in New Issue
Block a user