first drivers variant

remade shape keys
separated keyframe channels
This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent c91a7f39f6
commit 179aa2789b
20 changed files with 295 additions and 107 deletions
+3
View File
@@ -5,6 +5,7 @@
#include "vector.h"
#include "root.h"
#include "animatable.h"
#include "driver.h"
#include <vector>
#include <string>
@@ -73,8 +74,10 @@ namespace vb01{
Quaternion adjustRot(std::vector<Node*>, Quaternion, bool);
AnimationController *controller = nullptr;
std::vector<Driver> drivers;
protected:
virtual void animate(float, KeyframeChannel);
virtual float getDriverValue(Driver::VariableType);
bool visible = true;
Vector3 pos, scale, globalAxis[3];