rest of animation coding
animation , animator , keyframe & quaterions compiling but not debuged at all
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user