Fix SWIG bindings

The bindings now compile and in Python a mesh can be extracted from a volume.
The only extractor currently bound is SurfaceExtractor<SimpleVolume, Material8>.

The bindings are still commented out in library/CMakeLists.txt by default.
This commit is contained in:
Matt Williams
2011-06-07 20:33:01 +02:00
parent 72adbaa5a7
commit acd3c3c791
4 changed files with 27 additions and 6 deletions

View File

@ -36,6 +36,7 @@ namespace PolyVox
class SimpleVolume
{
public:
#ifndef SWIG
class Block
{
//Make Sampler a friend
@ -129,6 +130,7 @@ namespace PolyVox
//Other current position information
VoxelType* mCurrentVoxel;
};
#endif
public:
/// Constructor for creating a fixed size volume.