Removed block sharing ready for compression.

This commit is contained in:
David Williams
2011-02-05 17:56:59 +00:00
parent 5770d2bf04
commit 754690e251
8 changed files with 41 additions and 170 deletions

View File

@ -34,7 +34,7 @@ namespace PolyVox
//Make VolumeSampler a friend
friend class VolumeSampler<VoxelType>;
public:
Block(uint16_t uSideLength);
Block(uint16_t uSideLength = 0);
Block(const Block& rhs);
~Block();
@ -48,7 +48,7 @@ namespace PolyVox
void setVoxelAt(const Vector3DUint16& v3dPos, VoxelType tValue);
void fill(VoxelType tValue);
bool isHomogeneous(void);
void resize(uint16_t uSideLength);
uint32_t sizeInChars(void);
private: