Changed the way deprecation is applied on the MeshDecimator.

This commit is contained in:
unknown 2012-11-12 16:49:36 +01:00
parent c59a659964
commit b5b212cd73

View File

@ -67,7 +67,7 @@ namespace PolyVox
/// ///
/// \deprecated /// \deprecated
template <typename VertexType> template <typename VertexType>
class POLYVOX_DEPRECATED MeshDecimator class MeshDecimator
{ {
//Used to keep track of when a vertex is //Used to keep track of when a vertex is
//on one or more faces of the region //on one or more faces of the region
@ -143,10 +143,10 @@ namespace PolyVox
public: public:
///Constructor ///Constructor
MeshDecimator(const SurfaceMesh<VertexType>* pInputMesh, SurfaceMesh<VertexType>* pOutputMesh, float fEdgeCollapseThreshold = 0.95f); POLYVOX_DEPRECATED MeshDecimator(const SurfaceMesh<VertexType>* pInputMesh, SurfaceMesh<VertexType>* pOutputMesh, float fEdgeCollapseThreshold = 0.95f);
///Performs the decimation. ///Performs the decimation.
void execute(); POLYVOX_DEPRECATED void execute();
private: private: