GA::kit v0.3
G&A's in-house C++ application framework
Loading...
Searching...
No Matches
easing.h File Reference
#include "ga/math.h"
#include <functional>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  ga
 
namespace  ga::ease
 

Typedefs

using ga::EasingFn = std::function< float(float)>
 

Enumerations

enum class  ga::EaseType {
  ga::LINEAR , ga::EXPO_IN , ga::EXPO_OUT , ga::EXPO_IN_OUT ,
  ga::CUBE_IN_QUAD_OUT , ga::MATERIAL , ga::MATERIAL_ENTER , ga::MATERIAL_EXIT ,
  ga::CUSTOM , ga::NUM_TYPES , ga::DEFAULT = LINEAR
}
 

Functions

float ga::ease::expoIn (float t)
 
float ga::ease::expoOut (float t)
 
float ga::ease::expoInOut (float t)
 
float ga::ease::cubeInQuadOut (float t)
 
float ga::ease::material (float t)
 
float ga::ease::materialEnter (float t)
 
float ga::ease::materialExit (float t)
 
std::function< float(float)> ga::easeFn (const EaseType &type)