From 649e3dddb99dcbc7e5e841dde51ea1e4462452a9 Mon Sep 17 00:00:00 2001 From: David Williams Date: Sun, 2 Dec 2012 08:31:36 +0100 Subject: [PATCH] Deprecated getSubSampledVoxel() in SimpeVolume and LargeVolume --- library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h | 3 ++- library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h index 9c92e5ea..7794f914 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h +++ b/library/PolyVoxCore/include/PolyVoxCore/LargeVolume.h @@ -179,7 +179,8 @@ namespace PolyVox Sampler& operator=(const Sampler& rhs); - VoxelType getSubSampledVoxel(uint8_t uLevel) const; + /// \deprecated + POLYVOX_DEPRECATED VoxelType getSubSampledVoxel(uint8_t uLevel) const; inline VoxelType getVoxel(void) const; void setPosition(const Vector3DInt32& v3dNewPos); diff --git a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h index c8b12e22..6d9df551 100644 --- a/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h +++ b/library/PolyVoxCore/include/PolyVoxCore/SimpleVolume.h @@ -89,7 +89,8 @@ namespace PolyVox Sampler& operator=(const Sampler& rhs); - VoxelType getSubSampledVoxel(uint8_t uLevel) const; + /// \deprecated + POLYVOX_DEPRECATED VoxelType getSubSampledVoxel(uint8_t uLevel) const; /// Get the value of the current voxel inline VoxelType getVoxel(void) const;