namespace Msp {
namespace GL {
-// Avoid synthesizing RefPtr c'tor and d'tor in files including keyframe.h
-KeyFrame::KeyFrame()
-{ }
-
-KeyFrame::~KeyFrame()
-{ }
-
void KeyFrame::set_transform(const Transform &t)
{
transform = t;
}
-KeyFrame::Loader::Loader(KeyFrame &k):
- DataFile::CollectionObjectLoader<KeyFrame>(k, 0)
-{
- init();
-}
-
-KeyFrame::Loader::Loader(KeyFrame &k, Collection &c):
- DataFile::CollectionObjectLoader<KeyFrame>(k, &c)
-{
- init();
-}
-
-void KeyFrame::Loader::init()
+KeyFrame::Loader::Loader(KeyFrame &k, Collection *c):
+ DataFile::CollectionObjectLoader<KeyFrame>(k, c)
{
add("pose", &Loader::pose);
add("pose", &Loader::pose_inline);