Add non-const accessors to gfx::gltf_animation channels
This commit is contained in:
parent
ea037acbc0
commit
b9a6fbf99f
1 changed files with 4 additions and 0 deletions
|
|
@ -190,6 +190,10 @@ namespace psemek::gfx
|
||||||
gltf_rotation_animation const & rotation() const { return rotation_; }
|
gltf_rotation_animation const & rotation() const { return rotation_; }
|
||||||
gltf_translation_animation const & translation() const { return translation_; }
|
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:
|
private:
|
||||||
gltf_scale_animation scale_;
|
gltf_scale_animation scale_;
|
||||||
gltf_rotation_animation rotation_;
|
gltf_rotation_animation rotation_;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue