Renamed VolumeIterator to BlockVolumeIterator

This commit is contained in:
David Williams
2008-05-26 20:07:06 +00:00
parent ebeebee126
commit c8d632b554
11 changed files with 84 additions and 84 deletions

View File

@ -35,8 +35,8 @@ namespace PolyVox
template <typename VoxelType>
class BlockVolume
{
//Make VolumeIterator a friend
friend class VolumeIterator<VoxelType>;
//Make BlockVolumeIterator a friend
friend class BlockVolumeIterator<VoxelType>;
public:
BlockVolume(boost::uint8_t uSideLengthPower, boost::uint8_t uBlockSideLengthPower = 5);
@ -52,9 +52,9 @@ namespace PolyVox
bool containsPoint(const Vector3DFloat& pos, float boundary) const;
bool containsPoint(const Vector3DInt32& pos, boost::uint16_t boundary) const;
VolumeIterator<VoxelType> firstVoxel(void);
BlockVolumeIterator<VoxelType> firstVoxel(void);
void idle(boost::uint32_t uAmount);
VolumeIterator<VoxelType> lastVoxel(void);
BlockVolumeIterator<VoxelType> lastVoxel(void);
private:
Block<VoxelType>* getHomogenousBlock(VoxelType tHomogenousValue) const;