Initial commit of new Volume base class, which will be a base for the other volume classes. It's not working at this point...

This commit is contained in:
David Williams
2011-07-20 22:34:44 +01:00
parent ef30a13aef
commit ca8da0b0f3
5 changed files with 391 additions and 34 deletions

View File

@@ -140,7 +140,7 @@ namespace PolyVox
VoxelType Volume<VoxelType>::getVoxelAt(int32_t uXPos, int32_t uYPos, int32_t uZPos) const
{
assert(false);
return VoxelType; //Default constructor
return VoxelType();
}
////////////////////////////////////////////////////////////////////////////////
@@ -151,7 +151,7 @@ namespace PolyVox
VoxelType Volume<VoxelType>::getVoxelAt(const Vector3DInt32& v3dPos) const
{
assert(false);
return VoxelType; //Default constructor
return VoxelType();
}
////////////////////////////////////////////////////////////////////////////////