LWO: use forward declaration in header.
parent
bd2af6591f
commit
735e64309b
|
@ -54,6 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
// internal headers
|
// internal headers
|
||||||
#include "LWOFileData.h"
|
#include "LWOFileData.h"
|
||||||
|
#include <assimp/anim.h>
|
||||||
|
|
||||||
using namespace Assimp;
|
using namespace Assimp;
|
||||||
using namespace Assimp::LWO;
|
using namespace Assimp::LWO;
|
||||||
|
|
|
@ -48,11 +48,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
#ifndef AI_LWO_ANIMATION_INCLUDED
|
#ifndef AI_LWO_ANIMATION_INCLUDED
|
||||||
#define AI_LWO_ANIMATION_INCLUDED
|
#define AI_LWO_ANIMATION_INCLUDED
|
||||||
|
|
||||||
#include <assimp/anim.h>
|
//
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
struct aiNodeAnim;
|
struct aiNodeAnim;
|
||||||
|
struct aiVectorKey;
|
||||||
|
|
||||||
namespace Assimp {
|
namespace Assimp {
|
||||||
namespace LWO {
|
namespace LWO {
|
||||||
|
@ -166,7 +167,6 @@ struct Envelope
|
||||||
//! Keyframes for this envelope
|
//! Keyframes for this envelope
|
||||||
std::vector<Key> keys;
|
std::vector<Key> keys;
|
||||||
|
|
||||||
|
|
||||||
// temporary data for AnimResolver
|
// temporary data for AnimResolver
|
||||||
size_t old_first,old_last;
|
size_t old_first,old_last;
|
||||||
};
|
};
|
||||||
|
@ -198,8 +198,7 @@ public:
|
||||||
* @param Output tick rate, per second
|
* @param Output tick rate, per second
|
||||||
* @note The input envelopes are possibly modified.
|
* @note The input envelopes are possibly modified.
|
||||||
*/
|
*/
|
||||||
AnimResolver(std::list<Envelope>& envelopes,
|
AnimResolver(std::list<Envelope>& envelopes, double tick);
|
||||||
double tick);
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue