Support retrieving specific channels from gltf_animation
This commit is contained in:
parent
5630ae2da3
commit
95e99e4104
1 changed files with 4 additions and 0 deletions
|
|
@ -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_;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue