More tidying up.

This commit is contained in:
David Williams
2011-02-12 21:47:02 +00:00
parent ed355b856f
commit bf9f5aee48
6 changed files with 26 additions and 54 deletions

View File

@ -514,7 +514,9 @@ int main(int argc, char *argv[])
//createSphereInVolume(volData, 30);
//createPerlinTerrain(volData);
createPerlinVolumeSlow(volData);
std::cout << "Memory usage: " << volData.sizeInBytes() << std::endl;
volData.setBlockCacheSize(8);
std::cout << "Memory usage: " << volData.sizeInBytes() << std::endl;
/*srand(12345);
for(int ct = 0; ct < 1000; ct++)