Added marching cubes performance tests.

This commit is contained in:
David Williams
2014-08-18 22:10:35 +02:00
parent c75b0d58ce
commit 72f696652a
3 changed files with 55 additions and 2 deletions

View File

@ -63,6 +63,7 @@ VolumeType* createAndFillVolumeWithNoise(int32_t iVolumeSideLength, typename Vol
//Create empty volume
VolumeType* volData = new VolumeType(Region(Vector3DInt32(0, 0, 0), Vector3DInt32(iVolumeSideLength - 1, iVolumeSideLength - 1, iVolumeSideLength - 1)));
// Seed generator for consistency between runs.
srand(12345);
//Fill the volume with data