WIP
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include "Rendering/Model.h"
|
||||
#include "Rendering/EAnimationComplete.h"
|
||||
#include "Rendering/Skeleton.h"
|
||||
#include <imgui/imgui.h>
|
||||
|
||||
class AnimationSystem : public PureSystem
|
||||
{
|
||||
@@ -22,8 +23,9 @@ public:
|
||||
~AnimationSystem() { }
|
||||
virtual void UpdateComponent(EntityWrapper& entity, ComponentWrapper& animationComponent, double dt) override;
|
||||
private:
|
||||
|
||||
|
||||
float angle = 0.f;
|
||||
bool b_forward = false;
|
||||
char bone[100];
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -41,6 +41,7 @@ public:
|
||||
|
||||
std::string Name;
|
||||
glm::mat4 OffsetMatrix;
|
||||
glm::mat4 ModificationMatrix = glm::mat4(1);
|
||||
int ID;
|
||||
|
||||
Bone* Parent;
|
||||
|
||||
Reference in New Issue
Block a user