Made SimpleVolume and RawVolume derive from base Volume class.

This commit is contained in:
David Williams
2011-07-24 21:33:04 +01:00
parent 555ddc47a5
commit 8c7056d1a9
8 changed files with 40 additions and 196 deletions

View File

@@ -54,7 +54,8 @@ namespace PolyVox
template <typename VoxelType>
VoxelType Volume<VoxelType>::getBorderValue(void) const
{
return m_tBorderValue;
assert(false);
return VoxelType();
}
////////////////////////////////////////////////////////////////////////////////
@@ -160,7 +161,7 @@ namespace PolyVox
template <typename VoxelType>
void Volume<VoxelType>::setBorderValue(const VoxelType& tBorder)
{
m_tBorderValue = tBorder;
assert(false);
}
////////////////////////////////////////////////////////////////////////////////