Start of actual RLE compression.

This commit is contained in:
David Williams
2011-02-06 22:30:32 +00:00
parent 7be083a243
commit 4621ef8091
4 changed files with 68 additions and 7 deletions

View File

@ -26,6 +26,8 @@ freely, subject to the following restrictions:
#include "PolyVoxForwardDeclarations.h"
#include <vector>
namespace PolyVox
{
template <typename VoxelType>
@ -61,6 +63,9 @@ namespace PolyVox
VoxelType* m_tUncompressedData;
bool m_bIsCompressed;
uint32_t m_uTimestamp;
std::vector<uint32_t> runlengths;
std::vector<VoxelType> values;
};
}