Add a VOLUMETYPES macro to avoid repeating ourselves.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user