Go to the documentation of this file. 1 #ifndef __GfxTL_MATHHELPER_HEADER__
2 #define __GfxTL_MATHHELPER_HEADER__
3 #ifndef _USE_MATH_DEFINES
4 #define _USE_MATH_DEFINES
10 template <
class ScalarT>
39 Clamp(ScalarT
s, ScalarT bottom, ScalarT top)
static ScalarT Abs(ScalarT s)
static ScalarT Sign(ScalarT s)
double a(double t, double a0, double j)
static ScalarT Min(ScalarT a, ScalarT b)
static ScalarT Clamp(ScalarT s, ScalarT bottom, ScalarT top)
static ScalarT Max(ScalarT a, ScalarT b)
double s(double t, double s0, double v0, double a0, double j)