Separate out the BaseVolume definitions into their own file
This commit is contained in:
parent
6e729ded56
commit
7fbe92e1e7
20
library/bindings/BaseVolume.i
Normal file
20
library/bindings/BaseVolume.i
Normal file
@ -0,0 +1,20 @@
|
||||
%module SimpleVolume
|
||||
%{
|
||||
#include "Material.h"
|
||||
#include "Density.h"
|
||||
#include "BaseVolume.h"
|
||||
%}
|
||||
|
||||
%include "Material.h"
|
||||
%include "Density.h"
|
||||
%include "BaseVolume.h"
|
||||
|
||||
%template(BaseVolumeDensity8) PolyVox::BaseVolume<PolyVox::Density8>;
|
||||
|
||||
%template(BaseVolumeMaterial8) PolyVox::BaseVolume<PolyVox::Material8>;
|
||||
|
||||
%template(BaseVolumeMaterial16) PolyVox::BaseVolume<PolyVox::Material16>;
|
||||
|
||||
%template(BaseVolumeMaterialDensityPair44) PolyVox::BaseVolume<PolyVox::MaterialDensityPair44>;
|
||||
|
||||
%template(BaseVolumeMaterialDensityPair88) PolyVox::BaseVolume<PolyVox::MaterialDensityPair88>;
|
@ -37,6 +37,7 @@ const char* __str__() {
|
||||
%include "Material.i"
|
||||
%include "MaterialDensityPair.i"
|
||||
%include "Region.i"
|
||||
%include "BaseVolume.i"
|
||||
%include "SimpleVolume.i"
|
||||
//%include "TypeDef.i"
|
||||
//%include "SubArray.i"
|
||||
|
@ -5,22 +5,16 @@
|
||||
#include "SimpleVolume.h"
|
||||
%}
|
||||
|
||||
%import "BaseVolume.h"
|
||||
%include "Material.h"
|
||||
%include "Density.h"
|
||||
%include "SimpleVolume.h"
|
||||
|
||||
%template(BaseVolumeDensity8) PolyVox::BaseVolume<PolyVox::Density8>;
|
||||
%template(SimpleVolumeDensity8) PolyVox::SimpleVolume<PolyVox::Density8>;
|
||||
|
||||
%template(BaseVolumeMaterial8) PolyVox::BaseVolume<PolyVox::Material8>;
|
||||
%template(SimpleVolumeMaterial8) PolyVox::SimpleVolume<PolyVox::Material8>;
|
||||
|
||||
%template(BaseVolumeMaterial16) PolyVox::BaseVolume<PolyVox::Material16>;
|
||||
%template(SimpleVolumeMaterial16) PolyVox::SimpleVolume<PolyVox::Material16>;
|
||||
|
||||
%template(BaseVolumeMaterialDensityPair44) PolyVox::BaseVolume<PolyVox::MaterialDensityPair44>;
|
||||
%template(SimpleVolumeMaterialDensityPair44) PolyVox::SimpleVolume<PolyVox::MaterialDensityPair44>;
|
||||
|
||||
%template(BaseVolumeMaterialDensityPair88) PolyVox::BaseVolume<PolyVox::MaterialDensityPair88>;
|
||||
%template(SimpleVolumeMaterialDensityPair88) PolyVox::SimpleVolume<PolyVox::MaterialDensityPair88>;
|
||||
%template(SimpleVolumeMaterialDensityPair88) PolyVox::SimpleVolume<PolyVox::MaterialDensityPair88>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user