Add a VOLUMETYPES macro to avoid repeating ourselves.
This commit is contained in:
@ -9,12 +9,4 @@
|
||||
%include "Density.h"
|
||||
%include "SimpleVolume.h"
|
||||
|
||||
%template(SimpleVolumeDensity8) PolyVox::SimpleVolume<PolyVox::Density8>;
|
||||
|
||||
%template(SimpleVolumeMaterial8) PolyVox::SimpleVolume<PolyVox::Material8>;
|
||||
|
||||
%template(SimpleVolumeMaterial16) PolyVox::SimpleVolume<PolyVox::Material16>;
|
||||
|
||||
%template(SimpleVolumeMaterialDensityPair44) PolyVox::SimpleVolume<PolyVox::MaterialDensityPair44>;
|
||||
|
||||
%template(SimpleVolumeMaterialDensityPair88) PolyVox::SimpleVolume<PolyVox::MaterialDensityPair88>;
|
||||
VOLUMETYPES(SimpleVolume, PolyVox::SimpleVolume)
|
||||
|
Reference in New Issue
Block a user