Add non-const accessors to gfx::gltf_animation channels

This commit is contained in:
Nikita Lisitsa 2024-06-08 17:07:41 +03:00
parent ea037acbc0
commit b9a6fbf99f

View file

@ -190,6 +190,10 @@ namespace psemek::gfx
gltf_rotation_animation const & rotation() const { return rotation_; }
gltf_translation_animation const & translation() const { return translation_; }
gltf_scale_animation & scale() { return scale_; }
gltf_rotation_animation & rotation() { return rotation_; }
gltf_translation_animation & translation() { return translation_; }
private:
gltf_scale_animation scale_;
gltf_rotation_animation rotation_;