Concept for Animation Sampler.
More...
#include <le2d/anim/sampler.hpp>
template<typename Type, typename PayloadT>
concept le::anim::SamplerT =
requires(Type
const& t, std::span<Keyframe<PayloadT>
const> keyframes, kvf::Seconds time) {
{ t.sample(keyframes, time) } -> std::same_as<PayloadT>;
}
Concept for Animation Sampler.
Definition sampler.hpp:12
Concept for Animation Sampler.