Merge pull request #1556 from assimp/issue_1292

closes https://github.com/assimp/assimp/issues/1292: export class sub…
pull/1559/head
Kim Kulling 2017-11-08 23:52:50 +01:00 committed by GitHub
commit 9a13bf236f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 9 deletions

View File

@ -40,10 +40,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/** @file Defines a helper class to evaluate subdivision surfaces.*/
#pragma once
#ifndef AI_SUBDISIVION_H_INC
#define AI_SUBDISIVION_H_INC
#include <cstddef>
#include <assimp/types.h>
struct aiMesh;
namespace Assimp {
@ -52,8 +55,7 @@ namespace Assimp {
/** Helper class to evaluate subdivision surfaces. Different algorithms
* are provided for choice. */
// ------------------------------------------------------------------------------
class Subdivider
{
class ASSIMP_API Subdivider {
public:
/** Enumerates all supported subvidision algorithms */
@ -61,12 +63,7 @@ public:
CATMULL_CLARKE = 0x1
};
public:
virtual ~Subdivider() {
}
public:
virtual ~Subdivider();
// ---------------------------------------------------------------
/** Create a subdivider of a specific type
@ -119,9 +116,13 @@ public:
unsigned int num,
bool discard_input = false) = 0;
private:
};
inline
Subdivider::~Subdivider() {
// empty
}
} // end namespace Assimp