From 735e64309bafa3ee624a7da862545c98f2258fa1 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Wed, 21 Jun 2017 23:06:53 +0200 Subject: [PATCH] LWO: use forward declaration in header. --- code/LWOAnimation.cpp | 1 + code/LWOAnimation.h | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/code/LWOAnimation.cpp b/code/LWOAnimation.cpp index cbd12fe..4862876 100644 --- a/code/LWOAnimation.cpp +++ b/code/LWOAnimation.cpp @@ -54,6 +54,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // internal headers #include "LWOFileData.h" +#include using namespace Assimp; using namespace Assimp::LWO; diff --git a/code/LWOAnimation.h b/code/LWOAnimation.h index 11f71bd..f0c578a 100644 --- a/code/LWOAnimation.h +++ b/code/LWOAnimation.h @@ -48,11 +48,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #ifndef AI_LWO_ANIMATION_INCLUDED #define AI_LWO_ANIMATION_INCLUDED -#include +// #include #include struct aiNodeAnim; +struct aiVectorKey; namespace Assimp { namespace LWO { @@ -166,7 +167,6 @@ struct Envelope //! Keyframes for this envelope std::vector keys; - // temporary data for AnimResolver size_t old_first,old_last; }; @@ -198,8 +198,7 @@ public: * @param Output tick rate, per second * @note The input envelopes are possibly modified. */ - AnimResolver(std::list& envelopes, - double tick); + AnimResolver(std::list& envelopes, double tick); public: -- 2.7.4