Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
766b03fc38
Animation: add TrackViewStorage::values().
6 years ago
Vladimír Vondruš
f3c2bfb093
Animation: why not just cast the thing?
...
The reinterpret is kinda dangerous, and causes strict aliasing warnings.
6 years ago
Vladimír Vondruš
c4fe09f5df
Animation: MSVC 2015, are you upset about this?
7 years ago
Vladimír Vondruš
954798a9ba
Animation: allow mutable access to data referenced by TrackView.
...
This is a breaking change, sorry.
7 years ago
Vladimír Vondruš
fb930187c1
Animation: adapt to Corrade changes.
7 years ago
Vladimír Vondruš
d0673816ef
Animation: fix TrackView to have the same default extrapolation as Track.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
cbc35c4353
Stub documentation for transformation interpolation and animation.
8 years ago
Vladimír Vondruš
880bf7a1b6
Animation: list the new interpolators.
8 years ago
Vladimír Vondruš
b1b663fa65
Animation: support for spline interpolation.
8 years ago
Vladimír Vondruš
ac11a8e815
Animation, Trade: support Complex for rotation animations.
...
Since there's now lerp() and slerp() for it.
8 years ago
Vladimír Vondruš
2adc4e8f59
Animation: implementation of the Player class.
8 years ago
Vladimír Vondruš
f2f81df53d
Animation: make TrackView constructors implicit.
...
For consistency with all other views such as Containers::ArrayView as
these are all relatively light types and so the construction should be
lightweight as well. OTOH, Track constructors are still explicit because
they're heavy and the user should experience the heaviness firsthand.
8 years ago
Vladimír Vondruš
51fa67412a
Animation: TrackViewStorage doesn't need to be *that* type-erased.
...
Moreover, this will prevent from passing e.g. integer-based keys to
Trade::AnimationData. And this also now allows me to add duration() to
Trade::AnimationData. I also moved all accessors that don't need a
concrete value type to this base class.
8 years ago
Vladimír Vondruš
77f4558655
Animation: added Track[View]::duration().
8 years ago
Vladimír Vondruš
75e479859b
Animation: added Track[View]::size().
8 years ago
Vladimír Vondruš
fa449c9ad0
Animation: make it possible to specify Track interpolator via an enum.
...
Or via an enum + func ptr. Main goal of this is to provide a hint to
users who want to supply their own interpolator (for example with a
different perf/correctness tradeoff, or a optimized/inlined/batch
version etc.).
8 years ago
Vladimír Vondruš
1ec90a2cc1
Animation: make it possible to easily create empty track(view)s.
8 years ago
Vladimír Vondruš
7b0f1e99d6
Animation: add a typeless storage base for TrackView.
8 years ago
Vladimír Vondruš
4d4b299740
Animation: make interpolation result type non-implicit.
...
TrackView can, for example, have quaternions encoded as a 10-10-10-2
integer, but the result should still be a Quaternion.
8 years ago
Vladimír Vondruš
8cc560eadc
Animation: new Track and TrackView containers.
8 years ago