Add a EXTRACTORS macro to automate the generation of the extractors

Like with VOLUMETYPES it is centralising the definitions of the volume and
voxel types.
This commit is contained in:
Matt Williams
2012-11-24 15:37:46 +00:00
parent e7daab5bbc
commit bb3d3c4b68
3 changed files with 18 additions and 2 deletions

View File

@ -8,4 +8,4 @@
%include "SimpleVolume.h"
%include "MarchingCubesSurfaceExtractor.h"
%template(SurfaceExtractorSimpleVolumeDensity8) PolyVox::MarchingCubesSurfaceExtractor<PolyVox::SimpleVolume<PolyVox::Density8> >;
EXTRACTORS(MarchingCubesSurfaceExtractor)