c2882035b5
animation , animator , keyframe & quaterions compiling but not debuged at all
18 lines
291 B
C++
18 lines
291 B
C++
#include "keyframe.h"
|
|
|
|
Keyframe::Keyframe(float timestamp, std::map<std::string, JointTransform> pose)
|
|
{
|
|
timestamp_ = timestamp;
|
|
pose_ = pose;
|
|
}
|
|
|
|
float Keyframe::gettimestamp()
|
|
{
|
|
return timestamp_;
|
|
}
|
|
|
|
std::map<std::string, JointTransform> Keyframe::getJointKeyFrames()
|
|
{
|
|
return pose_;
|
|
}
|