From 03a713867fcdc9b566eec8045412730b53b83d9d Mon Sep 17 00:00:00 2001 From: David Williams Date: Sun, 13 Feb 2011 00:31:45 +0000 Subject: [PATCH] Documentation and tidying. --- library/PolyVoxCore/include/Volume.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/PolyVoxCore/include/Volume.h b/library/PolyVoxCore/include/Volume.h index fee73b26..0532d87c 100644 --- a/library/PolyVoxCore/include/Volume.h +++ b/library/PolyVoxCore/include/Volume.h @@ -159,11 +159,11 @@ namespace PolyVox void clearBlockCache(void); float calculateCompressionRatio(void); uint32_t calculateSizeInBytes(void); + /// Resizes the volume to the specified dimensions + void resize(uint16_t uWidth, uint16_t uHeight, uint16_t uDepth, uint16_t uBlockSideLength = 32); private: Block* getUncompressedBlock(uint16_t uBlockX, uint16_t uBlockY, uint16_t uBlockZ) const; - /// Resizes the volume to the specified dimensions - void resize(uint16_t uWidth, uint16_t uHeight, uint16_t uDepth, uint16_t uBlockSideLength = 32); //The block data mutable std::vector< Block > m_pBlocks;