Add RawVolume wrapper

This commit is contained in:
Matt Williams
2012-11-24 14:07:13 +00:00
parent 7fbe92e1e7
commit a932d060f2
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,20 @@
%module RawVolume
%{
#include "Material.h"
#include "Density.h"
#include "RawVolume.h"
%}
%include "Material.h"
%include "Density.h"
%include "RawVolume.h"
%template(RawVolumeDensity8) PolyVox::RawVolume<PolyVox::Density8>;
%template(RawVolumeMaterial8) PolyVox::RawVolume<PolyVox::Material8>;
%template(RawVolumeMaterial16) PolyVox::RawVolume<PolyVox::Material16>;
%template(RawVolumeMaterialDensityPair44) PolyVox::RawVolume<PolyVox::MaterialDensityPair44>;
%template(RawVolumeMaterialDensityPair88) PolyVox::RawVolume<PolyVox::MaterialDensityPair88>;