Claw 1.7.0
Static Public Member Functions
claw::tween::symmetric_easing< Function > Class Template Reference

Easing functions for the tweener. More...

#include <symmetric_easing.hpp>

List of all members.

Static Public Member Functions

static double ease_in (double t)
 Apply the easing at the beginning of the tweener.
static double ease_out (double t)
 Apply the easing at the end of the tweener.
static double ease_in_out (double t)
 Apply the easing at the beginning and the end of the tweener.

Detailed Description

template<double(*)(double) Function>
class claw::tween::symmetric_easing< Function >

Easing functions for the tweener.

Author:
Julien Jorge

Definition at line 41 of file symmetric_easing.hpp.


Member Function Documentation

template<double(*)(double) Function>
double claw::tween::symmetric_easing< Function >::ease_in ( double  t) [static]

Apply the easing at the beginning of the tweener.

Parameters:
tThe ratio of the date, in (0, 1), representing the total progression of the tweener.

Definition at line 37 of file symmetric_easing.tpp.

template<double(*)(double) Function>
double claw::tween::symmetric_easing< Function >::ease_in_out ( double  t) [static]

Apply the easing at the beginning and the end of the tweener.

Parameters:
tThe ratio of the date, in (0, 1), representing the total progression of the tweener.

Definition at line 61 of file symmetric_easing.tpp.

template<double(*)(double) Function>
double claw::tween::symmetric_easing< Function >::ease_out ( double  t) [static]

Apply the easing at the end of the tweener.

Parameters:
tThe ratio of the date, in (0, 1), representing the total progression of the tweener.

Definition at line 49 of file symmetric_easing.tpp.


The documentation for this class was generated from the following files: