Work on multi threaded surface extractor.

This commit is contained in:
David Williams 2009-06-09 19:17:17 +00:00
parent 83cc852d17
commit 530a53b4fe

View File

@ -59,14 +59,14 @@ namespace PolyVox
void VolumeChangeTracker::setAllRegionsModified(void) void VolumeChangeTracker::setAllRegionsModified(void)
{ {
incrementCurrentTime();
for(uint16_t blockZ = 0; blockZ < m_uVolumeDepthInRegions; ++blockZ) for(uint16_t blockZ = 0; blockZ < m_uVolumeDepthInRegions; ++blockZ)
{ {
for(uint16_t blockY = 0; blockY < m_uVolumeHeightInRegions; ++blockY) for(uint16_t blockY = 0; blockY < m_uVolumeHeightInRegions; ++blockY)
{ {
for(uint16_t blockX = 0; blockX < m_uVolumeWidthInRegions; ++blockX) for(uint16_t blockX = 0; blockX < m_uVolumeWidthInRegions; ++blockX)
{ {
volRegionLastModified->setVoxelAt(blockX, blockY, blockZ, m_uCurrentTime); volRegionLastModified->setVoxelAt(blockX, blockY, blockZ, m_uCurrentTime);
incrementCurrentTime();
} }
} }
} }