diff --git a/libs/gfx/include/psemek/gfx/gltf_animation.hpp b/libs/gfx/include/psemek/gfx/gltf_animation.hpp index 30d5fa22..858f21ee 100644 --- a/libs/gfx/include/psemek/gfx/gltf_animation.hpp +++ b/libs/gfx/include/psemek/gfx/gltf_animation.hpp @@ -185,6 +185,10 @@ namespace psemek::gfx * geom::scale(scale_(time)).transform(); } + gltf_scale_animation const & scale() const { return scale_; } + gltf_rotation_animation const & rotation() const { return rotation_; } + gltf_translation_animation const & translation() const { return translation_; } + private: gltf_scale_animation scale_; gltf_rotation_animation rotation_;