OSSIA
Open Scenario System for Interactive Application
power.hpp
1 #pragma once
3 
4 #include <cmath>
5 namespace ossia
6 {
7 template <typename Y, typename Power>
8 struct curve_segment_power : easing::power<Power>
9 {
10  Y operator()(double ratio, Y start, Y end) const noexcept
11  {
12  return ossia::easing::ease{}(
13  start, end, ((const easing::power<Power>&)(*this))(ratio));
14  }
15 };
16 }
Definition: git_info.h:7