Extract animation base class.

Skips some complicated computations, so yay.
This commit is contained in:
2018-02-13 15:49:50 +01:00
parent 16665a588a
commit 230cc5ee76
8 changed files with 35 additions and 13 deletions

View File

@@ -158,9 +158,10 @@ namespace fmri
std::default_random_engine& rng();
/**
* Get the current animation offset for a particular animation.
*
* @tparam Duration Duration type of length
* @param length
* @tparam Duration Duration type of length. Should be a specialisation of std::chrono::duration
* @param length The length of the animation.
* @return
*/
template<class Duration>