Skip to content

Commit

Permalink
added includes to enable assimp compilation. (#8151)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickHardeman authored Oct 18, 2024
1 parent 20f16fe commit 95306dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/ofxAssimp/src/ofxAssimpAnimation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "ofxAssimpAnimation.h"
#include "ofAppRunner.h"
#include "ofMath.h"
#include "ofUtils.h"

using namespace ofx::assimp;

Expand Down
3 changes: 2 additions & 1 deletion addons/ofxAssimp/src/ofxAssimpAnimationMixer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include "ofxAssimpAnimationMixer.h"
#include "ofLog.h"
#include "ofUtils.h"

using namespace ofx::assimp;

Expand All @@ -14,7 +15,7 @@ bool AnimationClip::shouldRemove( const AnimationClip& ac ) {
}

//--------------------------------------------------------------
size_t AnimationMixer::getNumAnimationClips() {
std::size_t AnimationMixer::getNumAnimationClips() {
return mAnimationClips.size();
}

Expand Down
2 changes: 1 addition & 1 deletion addons/ofxAssimp/src/ofxAssimpAnimationMixer.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class AnimationClip {
class AnimationMixer {
public:

size_t getNumAnimationClips();
std::size_t getNumAnimationClips();
AnimationClip& getAnimationClip(int aindex);
AnimationClip& getAnimationClip(const std::string& aname);
std::vector<AnimationClip>& getAnimationClips() { return mAnimationClips; }
Expand Down

0 comments on commit 95306dd

Please sign in to comment.