Add a VOLUMETYPES macro to avoid repeating ourselves.

This commit is contained in:
Matt Williams
2012-11-24 14:16:52 +00:00
parent a932d060f2
commit 63e0298fbf
4 changed files with 13 additions and 27 deletions

View File

@ -9,12 +9,4 @@
%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>;
VOLUMETYPES(RawVolume, PolyVox::RawVolume)