SurfaceExtractor now returns shared pointer to surface.

This commit is contained in:
David Williams
2009-05-29 22:16:51 +00:00
parent b1e111d940
commit 358d07b234
4 changed files with 16 additions and 15 deletions

View File

@ -51,7 +51,7 @@ class OpenGLWidget : public QGLWidget
//Rather than storing one big mesh, the volume is broken into regions and a mesh is stored for each region
std::map<PolyVox::Vector3DUint8, OpenGLSurfacePatch> m_mapOpenGLSurfacePatches;
std::map<PolyVox::Vector3DUint8, PolyVox::IndexedSurfacePatch*> m_mapIndexedSurfacePatches;
std::map<PolyVox::Vector3DUint8, POLYVOX_SHARED_PTR<PolyVox::IndexedSurfacePatch> > m_mapIndexedSurfacePatches;
unsigned int m_uRegionSideLength;
unsigned int m_uVolumeWidthInRegions;