Merge branch 'Weapons' into TeamPickCamera
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "Rendering/EAutoAnimationBlend.h"
|
||||
#include "../Core/EntityWrapper.h"
|
||||
#include "Rendering/AutoBlendQueue.h"
|
||||
|
||||
#include "../Input/EInputCommand.h"
|
||||
#include "imgui/imgui.h"
|
||||
|
||||
class AnimationSystem : public ImpureSystem
|
||||
@@ -28,7 +28,6 @@ private:
|
||||
|
||||
EventRelay<AnimationSystem, Events::AutoAnimationBlend> m_EAutoAnimationBlend;
|
||||
bool OnAutoAnimationBlend(Events::AutoAnimationBlend& e);
|
||||
|
||||
std::unordered_map<EntityWrapper, AutoBlendQueue> m_AutoBlendQueues;
|
||||
};
|
||||
|
||||
|
||||
@@ -77,6 +77,9 @@ public:
|
||||
std::map<int, Skeleton::PoseData> BlendPoseAdditive(const std::map<int, PoseData>& additivePose, const std::map<int, PoseData>& targetPose);
|
||||
void GetFinalPose(std::map<int, Skeleton::PoseData>& boneMatrices, std::vector<glm::mat4>& finalPose, std::map<int, glm::mat4>& boneTransforms);
|
||||
|
||||
std::vector<glm::mat4> GetTPose();
|
||||
|
||||
|
||||
std::map<std::string, Animation> Animations;
|
||||
private:
|
||||
Skeleton::PoseData GetAdditiveBonePose(const Bone* bone, const Animation* animation, double time);
|
||||
|
||||
Reference in New Issue
Block a user