diff --git a/include/PolyVoxSceneManager.h b/include/PolyVoxSceneManager.h index 4a894cf8..b1a77443 100644 --- a/include/PolyVoxSceneManager.h +++ b/include/PolyVoxSceneManager.h @@ -59,7 +59,7 @@ namespace PolyVox void setAllUpToDateFlagsTo(bool newUpToDateValue); void createSphereAt(Vector3DFloat centre, float radius, boost::uint8_t value, bool painting); - void generateLevelVolume(void); + //void generateLevelVolume(void); void generateMeshDataForRegion(boost::uint16_t regionX,boost:: uint16_t regionY, boost::uint16_t regionZ, IndexedSurfacePatch* singleMaterialPatch, IndexedSurfacePatch* multiMaterialPatch) const; diff --git a/source/PolyVoxSceneManager.cpp b/source/PolyVoxSceneManager.cpp index 280492e1..1266cbaa 100644 --- a/source/PolyVoxSceneManager.cpp +++ b/source/PolyVoxSceneManager.cpp @@ -149,7 +149,7 @@ namespace PolyVox markRegionChanged(firstX,firstY,firstZ,lastX,lastY,lastZ); } - void PolyVoxSceneManager::generateLevelVolume(void) + /*void PolyVoxSceneManager::generateLevelVolume(void) { //volumeData = VolumePtr(new Volume); volumeData = new Volume(POLYVOX_VOLUME_SIDE_LENGTH_POWER); @@ -234,7 +234,7 @@ namespace PolyVox } } } - } + }*/ void PolyVoxSceneManager::generateMeshDataForRegion(const uint16_t regionX, const uint16_t regionY, const uint16_t regionZ, IndexedSurfacePatch* singleMaterialPatch, IndexedSurfacePatch* multiMaterialPatch) const {