Add LargeVolume binding
This commit is contained in:
@ -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.
|
||||
|
12
library/bindings/LargeVolume.i
Normal file
12
library/bindings/LargeVolume.i
Normal file
@ -0,0 +1,12 @@
|
||||
%module LargeVolume
|
||||
%{
|
||||
#include "Material.h"
|
||||
#include "Density.h"
|
||||
#include "LargeVolume.h"
|
||||
%}
|
||||
|
||||
%include "Material.h"
|
||||
%include "Density.h"
|
||||
%include "LargeVolume.h"
|
||||
|
||||
VOLUMETYPES(LargeVolume, PolyVox::LargeVolume)
|
@ -50,6 +50,7 @@ const char* __str__() {
|
||||
%include "BaseVolume.i"
|
||||
%include "SimpleVolume.i"
|
||||
%include "RawVolume.i"
|
||||
%include "LargeVolume.i"
|
||||
//%include "TypeDef.i"
|
||||
//%include "SubArray.i"
|
||||
//%include "Array.i"
|
||||
|
Reference in New Issue
Block a user