c2882035b5
animation , animator , keyframe & quaterions compiling but not debuged at all
18 lines
263 B
C++
18 lines
263 B
C++
#include "animation.h"
|
|
|
|
Animation::Animation(float seconds, std::vector<Keyframe> keyframes)
|
|
{
|
|
length = seconds;
|
|
keyframes_ = keyframes;
|
|
}
|
|
|
|
float Animation::getlength()
|
|
{
|
|
return length;
|
|
}
|
|
|
|
std::vector<Keyframe> Animation::getkeyframe()
|
|
{
|
|
return keyframes_;
|
|
}
|