Moved volume pointer into base sampler class.

This commit is contained in:
David Williams
2011-07-27 21:46:57 +01:00
parent f847e6ad94
commit f7c511b2c6
7 changed files with 26 additions and 8 deletions

View File

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