Tidying up and refactoring LargeVolume.

This commit is contained in:
Daviw Williams
2013-06-26 17:02:06 +02:00
parent 8ab6d73f0a
commit 44d525f591
4 changed files with 55 additions and 39 deletions

View File

@ -332,7 +332,7 @@ int main(int argc, char *argv[])
//If these lines don't compile, please try commenting them out and using the two lines after
//(you will need Boost for this). If you have to do this then please let us know in the forums as
//we rely on community feedback to keep the Boost version running.
LargeVolume<MaterialDensityPair44> volData(compressor, pager, 256);
LargeVolume<MaterialDensityPair44> volData(Region::MaxRegion, compressor, pager, 256);
//LargeVolume<MaterialDensityPair44> volData(polyvox_bind(&load, polyvox_placeholder_1, polyvox_placeholder_2),
// polyvox_bind(&unload, polyvox_placeholder_1, polyvox_placeholder_2), 256);
volData.setMaxNumberOfBlocksInMemory(4096);