Merge pull request #1556 from assimp/issue_1292
closes https://github.com/assimp/assimp/issues/1292: export class sub…pull/1559/head
commit
9a13bf236f
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue