c2882035b5
animation , animator , keyframe & quaterions compiling but not debuged at all
16 lines
284 B
C++
16 lines
284 B
C++
#pragma once
|
|
|
|
#include "keyframe.h"
|
|
#include <vector>
|
|
|
|
class Animation {
|
|
private:
|
|
float length;
|
|
std::vector<Keyframe> keyframes_;
|
|
|
|
public:
|
|
Animation() = default;
|
|
Animation(float seconds, std::vector<Keyframe> keyframes);
|
|
float getlength();
|
|
std::vector<Keyframe>getkeyframe();
|
|
}; |