This commit is contained in:
@ -120,7 +120,7 @@ namespace PolyVox
|
||||
|
||||
public:
|
||||
///Constructor
|
||||
Volume(uint16_t uWidth, uint16_t uHeight, uint16_t uDepth, uint16_t uBlockSideLength = 32);
|
||||
Volume(uint16_t uWidth, uint16_t uHeight, uint16_t uDepth, uint16_t uBlockSideLength = 64);
|
||||
///Destructor
|
||||
~Volume();
|
||||
|
||||
@ -152,7 +152,7 @@ namespace PolyVox
|
||||
///Sets the voxel at a 3D vector position
|
||||
bool setVoxelAt(const Vector3DUint16& v3dPos, VoxelType tValue);
|
||||
|
||||
///Resises the volume to the specified dimensions
|
||||
///Resizes the volume to the specified dimensions
|
||||
void resize(uint16_t uWidth, uint16_t uHeight, uint16_t uDepth, uint16_t uBlockSideLength = 32);
|
||||
|
||||
public:
|
||||
@ -160,8 +160,7 @@ namespace PolyVox
|
||||
|
||||
Block<VoxelType> m_pBorderBlock;
|
||||
std::vector< Block<VoxelType> > m_pBlocks;
|
||||
//mutable Block<VoxelType>* m_pUncompressedBlock;
|
||||
mutable std::set<Block<VoxelType>*> m_pUncompressedBlocks;
|
||||
mutable std::vector<Block<VoxelType>*> m_pUncompressedBlocks;
|
||||
|
||||
uint32_t m_uNoOfBlocksInVolume;
|
||||
|
||||
|
Reference in New Issue
Block a user