Euphoria
easing.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 
5 
6 namespace eu::core::easing
7 {
8 
9 enum class Function
10 {
11  linear,
12 
13  // also called ease in
14  // start slow, end quick
16 
17  // also called ease out
18  // start fast, end slow
20 
21  // also called ease in and out
22  // start slow, end slow
24 };
25 
26 
27 float apply(Function f, float t);
28 
29 
30 std::vector<std::pair<const char*, Function>> get_all_values();
31 
32 }
std::vector< std::pair< const char *, Function > > get_all_values()
Definition: easing.cc:87
float apply(Function f, float t)
Definition: easing.cc:61