Add all the Material, Density and MaterialDensityPair typedefs
This commit is contained in:
parent
bef1ae02ff
commit
85c5b7abf0
@ -6,3 +6,4 @@
|
||||
%include "Material.h"
|
||||
|
||||
%template(Material8) PolyVox::Material<uint8_t>;
|
||||
%template(Material16) PolyVox::Material<uint16_t>;
|
||||
|
@ -26,7 +26,8 @@ const char* __str__() {
|
||||
%include "std_vector.i"
|
||||
%include "Vector.i"
|
||||
%include "Density.i"
|
||||
//%include "Material.i"
|
||||
%include "Material.i"
|
||||
%include "MaterialDensityPair.i"
|
||||
%include "Region.i"
|
||||
%include "SimpleVolume.i"
|
||||
//%include "TypeDef.i"
|
||||
|
@ -11,6 +11,16 @@
|
||||
%include "SimpleVolume.h"
|
||||
|
||||
%template(BaseVolumeDensity8) PolyVox::BaseVolume<PolyVox::Density8>;
|
||||
%template(SimpleVolumeDensity8) PolyVox::SimpleVolume<PolyVox::Density8>;
|
||||
|
||||
//%template(SimpleVolumeMaterial8) PolyVox::SimpleVolume<PolyVox::Material8>;
|
||||
%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>;
|
Loading…
x
Reference in New Issue
Block a user