Aded multiple choice decimater (~4 times faster than the heap one)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@644 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-08-06 16:10:52 +00:00
parent 155fd054a6
commit 34e3b8ee86
9 changed files with 833 additions and 22 deletions

View File

@@ -69,6 +69,7 @@ namespace Decimater {
//== FORWARD DECLARATIONS =====================================================
template <typename Mesh> class DecimaterT;
template <typename Mesh> class McDecimaterT;
//== CLASS DEFINITION =========================================================
@@ -100,8 +101,10 @@ private:
#if defined(OM_CC_MSVC)
friend class DecimaterT;
friend class McDecimaterT;
#else
template <typename Mesh> friend class DecimaterT;
template <typename Mesh> friend class McDecimaterT;
#endif
void clear() { mod_ = NULL; }