Starting to split Block class into CompressedBlock and UncompressedBlock.

This commit is contained in:
David Williams
2013-07-11 16:17:48 +02:00
parent 9ff95f7061
commit 0d92bc6c8c
5 changed files with 16 additions and 169 deletions

View File

@ -93,7 +93,7 @@ public:
virtual void pageIn(const PolyVox::Region& region, Block<MaterialDensityPair44>* pBlockData)
{
pBlockData->createUncompressedData();
/*pBlockData->createUncompressedData();
Perlin perlin(2,2,1,234);
@ -134,7 +134,7 @@ public:
pBlockData->setVoxelAt(x - region.getLowerX(), y - region.getLowerY(), z - region.getLowerZ(), voxel);
}
}
}
}*/
}
virtual void pageOut(const PolyVox::Region& region, Block<MaterialDensityPair44>* /*pBlockData*/)