reading animations

This commit is contained in:
devZoGok
2022-03-09 21:04:45 +02:00
parent e23ee52257
commit 8936266dcb
19 changed files with 132 additions and 56 deletions
+6 -1
View File
@@ -3,6 +3,8 @@
#include "modelReader.h"
#include <vector>
namespace tinyxml2{
class XMLElement;
}
@@ -11,7 +13,8 @@ namespace vb01{
class Node;
class Mesh;
class Skeleton;
class Bone;
class Animatable;
class Animation;
class XmlModelReader : public ModelReader{
public:
@@ -19,6 +22,8 @@ namespace vb01{
private:
Node* processNode(Node*, tinyxml2::XMLElement*, bool = false);
Mesh* processMesh(tinyxml2::XMLElement*);
Animation* processAnimation(tinyxml2::XMLElement*, std::vector<Animatable*>);
void processAnimations(tinyxml2::XMLElement*, std::vector<Animatable*>);
Skeleton* processSkeleton(Node*, tinyxml2::XMLElement*);
};
}