Re-enable more of the bindings
This should enable enough of the bindings to be able to extract a surface mesh.
This commit is contained in:
@ -1,30 +1,11 @@
|
||||
%module SurfaceExtractor
|
||||
%{
|
||||
#include "SimpleVolume.h"
|
||||
#include "Material.h"
|
||||
#include "SurfaceExtractor.h"
|
||||
#include "PolyVoxCore/Material.h"
|
||||
|
||||
namespace PolyVox
|
||||
{
|
||||
class SurfaceExtractorSimpleVolumeMaterial8 : public SurfaceExtractor<SimpleVolume, Material8>
|
||||
{
|
||||
public:
|
||||
SurfaceExtractorSimpleVolumeMaterial8(SimpleVolume<Material8>* volData, Region region, SurfaceMesh<PositionMaterialNormal>* result)
|
||||
: SurfaceExtractor<SimpleVolume, Material8>(volData, region, result) {}
|
||||
void execute() { SurfaceExtractor<SimpleVolume, Material8>::execute(); }
|
||||
};
|
||||
};
|
||||
%}
|
||||
|
||||
%include "SimpleVolume.h"
|
||||
%include "SurfaceExtractor.h"
|
||||
|
||||
namespace PolyVox
|
||||
{
|
||||
class SurfaceExtractorSimpleVolumeMaterial8 : public SurfaceExtractor<SimpleVolume, Material8>
|
||||
{
|
||||
public:
|
||||
SurfaceExtractorSimpleVolumeMaterial8(SimpleVolume<Material8>* volData, Region region, SurfaceMesh<PositionMaterialNormal>* result);
|
||||
void execute();
|
||||
};
|
||||
};
|
||||
%template(SurfaceExtractorSimpleVolumeDensity8) PolyVox::SurfaceExtractor<PolyVox::SimpleVolume<PolyVox::Density8> >;
|
||||
|
Reference in New Issue
Block a user