Documentation and tidying.

This commit is contained in:
David Williams
2011-02-13 00:07:12 +00:00
parent 29e2e14c3a
commit ad0e923413
5 changed files with 124 additions and 114 deletions

View File

@ -58,7 +58,7 @@ namespace PolyVox
void fill(VoxelType tValue);
void initialise(uint16_t uSideLength);
uint32_t sizeInBytes(void);
uint32_t calculateSizeInBytes(void);
public:
void compress(void);

View File

@ -131,7 +131,7 @@ namespace PolyVox
}
template <typename VoxelType>
uint32_t Block<VoxelType>::sizeInBytes(void)
uint32_t Block<VoxelType>::calculateSizeInBytes(void)
{
uint32_t uSizeInBytes = sizeof(Block<VoxelType>);
uSizeInBytes += m_vecCompressedData.capacity() * sizeof(RunlengthEntry<uint16_t>);