More work to remove fixed size constants.

This commit is contained in:
David Williams 2008-04-27 15:53:12 +00:00
parent 1848780585
commit f07b617f02
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ namespace PolyVox
void setAllUpToDateFlagsTo(bool newUpToDateValue); void setAllUpToDateFlagsTo(bool newUpToDateValue);
void createSphereAt(Vector3DFloat centre, float radius, boost::uint8_t value, bool painting); 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; void generateMeshDataForRegion(boost::uint16_t regionX,boost:: uint16_t regionY, boost::uint16_t regionZ, IndexedSurfacePatch* singleMaterialPatch, IndexedSurfacePatch* multiMaterialPatch) const;

View File

@ -149,7 +149,7 @@ namespace PolyVox
markRegionChanged(firstX,firstY,firstZ,lastX,lastY,lastZ); markRegionChanged(firstX,firstY,firstZ,lastX,lastY,lastZ);
} }
void PolyVoxSceneManager::generateLevelVolume(void) /*void PolyVoxSceneManager::generateLevelVolume(void)
{ {
//volumeData = VolumePtr(new Volume); //volumeData = VolumePtr(new Volume);
volumeData = new Volume<boost::uint8_t>(POLYVOX_VOLUME_SIDE_LENGTH_POWER); volumeData = new Volume<boost::uint8_t>(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 void PolyVoxSceneManager::generateMeshDataForRegion(const uint16_t regionX, const uint16_t regionY, const uint16_t regionZ, IndexedSurfacePatch* singleMaterialPatch, IndexedSurfacePatch* multiMaterialPatch) const
{ {