More work on base Volume class and sampler.

Added new test case for creating a volume subclass.
This commit is contained in:
David Williams
2011-07-30 10:12:28 +01:00
parent 84c78f6839
commit d1649c9323
10 changed files with 236 additions and 38 deletions

View File

@ -36,10 +36,8 @@ namespace PolyVox
{
template <typename VoxelType>
LargeVolume<VoxelType>::Sampler::Sampler(LargeVolume<VoxelType>* volume)
//:mVolume(volume)
:Volume<VoxelType>::Sampler< LargeVolume<VoxelType> >(volume)
{
//Dodgy doing this - need to find how to call base constructor
this->mVolume = volume;
}
template <typename VoxelType>