Marked some parts of PolyVox as deprecated.

This commit is contained in:
unknown
2012-11-09 16:12:26 +01:00
parent 4be56378e4
commit c59a659964
6 changed files with 42 additions and 29 deletions

View File

@ -64,8 +64,10 @@ namespace PolyVox
/// The above applies for a cubic mesh, for a Marching Cubes mesh you need to parametise
/// the MeshDecimator and resulting SurfaceMesh on the 'PositionMaterialNormal' type
/// instead of the 'PositionMaterial' type.
///
/// \deprecated
template <typename VertexType>
class MeshDecimator
class POLYVOX_DEPRECATED MeshDecimator
{
//Used to keep track of when a vertex is
//on one or more faces of the region

View File

@ -36,8 +36,10 @@ namespace PolyVox
typedef SimpleVolume<MaterialDensityPair88> Volume;
typedef SurfaceMesh<PositionMaterialNormal> Mesh;
void extractCubicMesh(Volume& volume, const Region& region, Mesh& resultMesh);
void extractSmoothMesh(Volume& volume, const Region& region, Mesh& resultMesh);
/// \deprecated
POLYVOX_DEPRECATED void extractCubicMesh(Volume& volume, const Region& region, Mesh& resultMesh);
/// \deprecated
POLYVOX_DEPRECATED void extractSmoothMesh(Volume& volume, const Region& region, Mesh& resultMesh);
}