X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fanimation%2Fkeyframe.h;h=7a96447e656d5ef533a381b099a9e39e17abc44d;hp=5b748add113c5432c0d3c5836e6fceaf4db8b590;hb=3ac3a51c623271da815c8ee60c484445871753bf;hpb=885b8ad08cfcefba4b95ec9028fa1e25df2fe171 diff --git a/source/animation/keyframe.h b/source/animation/keyframe.h index 5b748add..7a96447e 100644 --- a/source/animation/keyframe.h +++ b/source/animation/keyframe.h @@ -19,12 +19,19 @@ class KeyFrame public: class Loader: public DataFile::CollectionObjectLoader { + private: + std::string inline_base_name; + public: Loader(KeyFrame &); Loader(KeyFrame &, Collection &); private: void init(); + public: + void set_inline_base_name(const std::string &); + + private: void pose(const std::string &); void pose_inline(); void position(float, float, float); @@ -60,7 +67,7 @@ public: private: Transform transform; UniformMap uniforms; - RefPtr pose; + const Pose *pose; public: KeyFrame(); @@ -73,7 +80,7 @@ public: const Transform &get_transform() const { return transform; } Matrix get_matrix() const { return transform.to_matrix(); } const UniformMap &get_uniforms() const { return uniforms; } - const Pose *get_pose() const { return pose.get(); } + const Pose *get_pose() const { return pose; } }; } // namespace GL