Move.h
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <ionCore.h>
5 #include <ionMath.h>
6 
7 
8 namespace ion
9 {
10  namespace Animation
11  {
12 
13  class Move
14  {
15 
16  public:
17 
18  static float Linear(float From, float const To, float const Elapsed, float const Speed, float const Clamp = 0.05f);
19  static vec3f Linear(vec3f From, vec3f const & To, float const Elapsed, float const Speed, float const Clamp = 0.05f);
20  static float Quadratic(float From, float const To, float const Elapsed, float const Speed, float const Clamp = 0.05f);
21  static vec3f Quadratic(vec3f From, vec3f const & To, float const Elapsed, float const Speed, float const Clamp = 0.05f);
22  static vec3f Cubic(vec3f From, vec3f const & To, float const Elapsed, float const Speed, float const Clamp = 0.05f);
23 
24  };
25 
26  }
27 }
static float Linear(float From, float const To, float const Elapsed, float const Speed, float const Clamp=0.05f)
Definition: Move.cpp:11
Definition: Move.h:13
static vec3f Cubic(vec3f From, vec3f const &To, float const Elapsed, float const Speed, float const Clamp=0.05f)
Definition: Move.cpp:109
Definition: CCatmullRomAdvancedSplineInterpolator.h:7
static float Quadratic(float From, float const To, float const Elapsed, float const Speed, float const Clamp=0.05f)
Definition: Move.cpp:85
T Clamp(T const &v, T const &min, T const &max)
Definition: ionUtils.h:53