#include <Inertia.h>
Public Member Functions | |
Inertia () | |
void | Start (double _viewTime=0.5, double _inertiaTime=0.1) |
void | Add (Point2D< int > element) |
Point2D< double > | GetMoyValue () |
Remarque :
Principe de distrubution:
Ex.:
Inertia<int,double> inertia; int moy; inertia.Start(5,10); // 5sec ... inertia.Add(2); ... inertia.Add(5); ... moy=GetMoyValue();
Definition at line 72 of file Inertia.h.
|
Definition at line 25 of file Inertia.cpp. |
|
Definition at line 38 of file Inertia.cpp. References ElemStack::elem, Timer::GetDeltaTime(), MyStack< ElemStack >::Push(), and ElemStack::timing. Referenced by Control::OnMouseMove(). |
|
|
Definition at line 31 of file Inertia.cpp. References Timer::GetDeltaTime(). Referenced by ControlEngine::Start(). |