Claw  1.7.3
Classes | Namespaces | Functions
tweener.hpp File Reference

A tweener makes a value to evolve through time from a initial value to an end value according to a given function. More...

#include <algorithm>
#include <boost/function.hpp>

Go to the source code of this file.

Classes

class  claw::tween::tweener
 A tweener makes a value to evolve through time from a initial value to an end value according to a given function. More...
 

Namespaces

 claw
 This is the main namespace.
 
 claw::tween
 Tweeners interpolate the intermediate values between two given reference values using various equations.
 

Functions

template<>
void std::swap (claw::tween::tweener &a, claw::tween::tweener &b)
 Swap two tweeners. More...
 

Detailed Description

A tweener makes a value to evolve through time from a initial value to an end value according to a given function.

Author
Julien Jorge

Definition in file tweener.hpp.

Function Documentation

template<>
void std::swap ( claw::tween::tweener a,
claw::tween::tweener b 
)

Swap two tweeners.

Parameters
aThe first tweener.
bThe second tweener.

Definition at line 138 of file tweener.cpp.

References claw::tween::tweener::swap(), and std::swap().

Referenced by std::swap().