Renamed Volume to LargeVolume.
This commit is contained in:
@ -38,7 +38,7 @@ CREATE_TEST(testvector.h testvector.cpp testvector)
|
||||
ADD_TEST(VectorLengthTest ${LATEST_TEST} testLength)
|
||||
ADD_TEST(VectorDotProductTest ${LATEST_TEST} testDotProduct)
|
||||
|
||||
# Volume tests
|
||||
# LargeVolume tests
|
||||
CREATE_TEST(testvolume.h testvolume.cpp testvolume)
|
||||
ADD_TEST(VolumeSizeTest ${LATEST_TEST} testSize)
|
||||
|
||||
|
@ -70,7 +70,7 @@ void TestArray::testReadWrite()
|
||||
QCOMPARE(total, expectedTotal);
|
||||
|
||||
/*const PolyVox::uint16_t g_uVolumeSideLength = 128;
|
||||
Volume<PolyVox::uint8_t> volData(g_uVolumeSideLength, g_uVolumeSideLength, g_uVolumeSideLength);
|
||||
LargeVolume<PolyVox::uint8_t> volData(g_uVolumeSideLength, g_uVolumeSideLength, g_uVolumeSideLength);
|
||||
|
||||
volData.tidyUpMemory(0);
|
||||
|
||||
|
@ -23,7 +23,7 @@ freely, subject to the following restrictions:
|
||||
|
||||
#include "testvolume.h"
|
||||
|
||||
#include <Volume.h>
|
||||
#include <LargeVolume.h>
|
||||
|
||||
#include <QtTest>
|
||||
|
||||
@ -32,7 +32,7 @@ using namespace PolyVox;
|
||||
void TestVolume::testSize()
|
||||
{
|
||||
const int32_t g_uVolumeSideLength = 128;
|
||||
Volume<uint8_t> volData(Region(Vector3DInt32(0,0,0), Vector3DInt32(g_uVolumeSideLength-1, g_uVolumeSideLength-1, g_uVolumeSideLength-1)));
|
||||
LargeVolume<uint8_t> volData(Region(Vector3DInt32(0,0,0), Vector3DInt32(g_uVolumeSideLength-1, g_uVolumeSideLength-1, g_uVolumeSideLength-1)));
|
||||
|
||||
for (int32_t z = 0; z < g_uVolumeSideLength; z++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user