pull/1556/head
Kim Kulling 2017-11-08 20:50:16 +01:00
parent a88a23ac7c
commit 36475bf868
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