summaryrefslogtreecommitdiffstats
path: root/src/animation/backend/fcurve_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Restore use of QVector in private APIMike Krus2021-01-051-1/+1
| | | | | | | | Facilitates building against Qt 5.15. Will migrate to std::vector over time. Change-Id: I5db14c9ea95b38e4b2d596d7397fef76f6baf118 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Use QList instead of QVector in implementation and docsJarek Kobus2020-07-091-4/+4
| | | | | | | | | Fix some const correctness. Use list-initialization. Task-number: QTBUG-84469 Change-Id: I9c56742581f48f89a3b02e4121fae414117c7a25 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Merge remote-tracking branch 'origin/dev' into wip/qt6Alexandru Croitor2019-08-091-1/+1
|\ | | | | | | Change-Id: Ia21242e692ef6f9ba1eb8d68b93e017a7439d73c
| * Take shortest path on quaternion slerpJuan Jose Casafranca2019-07-151-1/+1
| | | | | | | | | | Change-Id: I4499e945481a22adfbafcc82198f7c411d04301b Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* | Bump Qt version to Qt 6Alexandru Croitor2019-07-111-7/+7
|/ | | | | | | | Also fix usages of text stream operators. Change-Id: I8f3fe9475749f10f33c8eb750befa8845ccc37d6 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Use slerp for animating rotation channelsJuan Jose Casafranca2019-02-221-0/+3
| | | | | Change-Id: Ic6aa6fd1c1a1e7757dba9466b59d20834b56e246 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add normalizedTime function to blendedlclip animatorsChristian Strømme2018-01-231-1/+0
| | | | | Change-Id: I19c1907371d9d131295558eb19c297d544ebef7d Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Merge branch '5.9' into 5.10Sean Harmer2017-10-051-6/+19
|\ | | | | | | | | | | | | Conflicts: src/animation/backend/animationutils.cpp Change-Id: I6bd0d1d15da00537a0bb064fc828b2460584b8e8
| * Improve debug output for fcurvesSean Harmer2017-10-051-6/+19
| | | | | | | | | | Change-Id: I4a9044933b182a2e0eba745483f1b8bc214dcdba Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* | Extend QChannel and Channel to support jointIndex membersSean Harmer2017-09-021-0/+1
|/ | | | | | | Needed for animartion aspect support of skeletons. Change-Id: I89027a62ffcac68318ef8c8645b4720e71ff1697 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add missing reference in range-for with non trivial type (clazy reports)Mike Krus2017-05-021-1/+1
| | | | | Change-Id: Ib014b4ad7adc6604e600afc489e3dafaf0e299c1 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Refactor clip loading and add support for loading from dataSean Harmer2017-04-121-0/+7
| | | | | Change-Id: I5be059618f22676491e08aa2fc0252c806073b07 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Update naming of animation building blocksSean Harmer2017-03-021-11/+11
| | | | | | | | | | | | | | | | | | | Rename: Groups -> Channels Channels -> ChannelComponents Update function and variable names accordingly. Also updated ChannelComponents to contain not only the component suffix to make them more readable in large files. Replaced animation clip in AnimationUtils unit test and adjusted suffix -> component index mapping code to use upper case. Will update clips in manual test in a follow up commit. Change-Id: If5ed565d57efbed07a4d6771336a14f6a4cddb65 Reviewed-by: Mike Krus <mike.krus@kdab.com>
* Add a job to load animation clipsSean Harmer2017-01-271-0/+63
| | | | | | | | | | | Defers the actual work to AnimationClip. Also made all backend nodes have a common base class to make it easy to track the Handler. Added a manual test to exercise this and which we can build up over time as we add API. Change-Id: I7cdd8da948498544059ba51efe38642dd54ea410 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Implement FCurve evaluationSean Harmer2017-01-261-0/+91
Uses a couple of helper classes to do the tricky mathematics. Change-Id: I3245c0e282a5eeede3d596ca99ac2c78e34f23ef Reviewed-by: Sean Harmer <sean.harmer@kdab.com>