rest of animation coding

animation , animator , keyframe & quaterions
compiling but not debuged at all
This commit is contained in:
Youssef Assem
2019-12-17 04:48:20 +02:00
parent 23dd149d48
commit c2882035b5
16 changed files with 492 additions and 17 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include "quaternion.h"
#include "geometry.h"
class JointTransform
{
private:
Vec3f position_;
Quaternion rotation_;
public:
JointTransform() = default;
JointTransform(Vec3f position,Quaternion rotation);
Matrix getlocationtransform();
static JointTransform interpolate(JointTransform frame1, JointTransform frame2, float progression);
static Vec3f interpolate(Vec3f start,Vec3f end, float progression);
};