Add LargeVolume binding

This commit is contained in:
Matt Williams
2012-11-24 14:23:52 +00:00
parent 63e0298fbf
commit edf2bf87d4
3 changed files with 15 additions and 0 deletions

View File

@ -166,6 +166,7 @@ namespace PolyVox
//in the future
//typedef Volume<VoxelType> VolumeOfVoxelType; //Workaround for GCC/VS2010 differences.
//class Sampler : public VolumeOfVoxelType::template Sampler< LargeVolume<VoxelType> >
#ifndef SWIG
#if defined(_MSC_VER)
class Sampler : public BaseVolume<VoxelType>::Sampler< LargeVolume<VoxelType> > //This line works on VS2010
#else
@ -243,6 +244,7 @@ namespace PolyVox
Block<VoxelType> block;
uint32_t timestamp;
};
#endif
public:
/// Constructor for creating a very large paging volume.