Euphoria
easing.cc File Reference
#include "core/easing.h"
#include "assert/assert.h"

Go to the source code of this file.

Namespaces

 eu
 
 eu::core
 
 eu::core::easing
 

Macros

#define VALUE(x)   {#x, Function::x}
 

Functions

template<int steps>
constexpr float eu::core::easing::ipow (float t)
 
template<>
constexpr float eu::core::easing::ipow< 1 > (float t)
 
constexpr float eu::core::easing::flip (float t)
 
constexpr float eu::core::easing::blend (float a, float b, float weight)
 
template<int steps>
constexpr float eu::core::easing::fracpow (float frac, float t)
 
constexpr float eu::core::easing::fabs (float t)
 
constexpr float eu::core::easing::bounce_clamp_top (float t)
 
constexpr float eu::core::easing::bounce_clamp_bottom (float t)
 
constexpr float eu::core::easing::bounce_clamp (float t)
 
constexpr float eu::core::easing::normalized_bezier_curve3 (float b, float c, float t)
 
template<int steps>
float eu::core::easing::smooth_start (float t)
 
template<int steps>
float eu::core::easing::smooth_stop (float t)
 
template<int steps>
float eu::core::easing::smooth_step (float t)
 
float eu::core::easing::apply (Function f, float t)
 
std::vector< std::pair< const char *, Function > > eu::core::easing::get_all_values ()
 

Macro Definition Documentation

◆ VALUE

#define VALUE (   x)    {#x, Function::x}