Use double for animation curves
authorMikko Rasa <tdb@tdb.fi>
Sun, 23 Jun 2019 19:38:23 +0000 (22:38 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 23 Jun 2019 19:38:23 +0000 (22:38 +0300)
commitb0dfcfb5cdd73e7515170c0598d6b061d33446a7
treec53849fa24c984b9a17d1961a7abbf894932b5d4
parentf88bce7df357cf12ce20b7dc8c7d179d2ae95920
Use double for animation curves

Since the t value is raised to the third power, floats with their 24-bit
mantissa started to run out of precision around 30 seconds.  Doubles
should be good for several hours.  If that somehow turns out to not be
enough I'll invent some way to chain animations.
source/animation.cpp
source/animation.h