|
|
@@ -22,11 +22,11 @@ DEPRECATED inline int min(int a, int b) {return std::min(a, b);} |
|
|
|
DEPRECATED inline int max(int a, int b) {return std::max(a, b);} |
|
|
|
DEPRECATED inline int eucmod(int a, int base) {return eucMod(a, base);} |
|
|
|
DEPRECATED inline bool ispow2(int n) {return isPow2(n);} |
|
|
|
DEPRECATED inline int clamp2(int x, int a, int b) {return clampBetween(x, a, b);} |
|
|
|
DEPRECATED inline int clamp2(int x, int a, int b) {return clampSafe(x, a, b);} |
|
|
|
DEPRECATED inline float min(float a, float b) {return std::min(a, b);} |
|
|
|
DEPRECATED inline float max(float a, float b) {return std::max(a, b);} |
|
|
|
DEPRECATED inline float eucmod(float a, float base) {return eucMod(a, base);} |
|
|
|
DEPRECATED inline float clamp2(float x, float a, float b) {return clampBetween(x, a, b);} |
|
|
|
DEPRECATED inline float clamp2(float x, float a, float b) {return clampSafe(x, a, b);} |
|
|
|
|
|
|
|
DEPRECATED inline int mini(int a, int b) {return std::min(a, b);} |
|
|
|
DEPRECATED inline int maxi(int a, int b) {return std::max(a, b);} |
|
|
@@ -40,12 +40,12 @@ DEPRECATED inline float sgnf(float x) {return sgn(x);} |
|
|
|
DEPRECATED inline float eucmodf(float a, float base) {return eucMod(a, base);} |
|
|
|
DEPRECATED inline bool nearf(float a, float b, float epsilon = 1.0e-6f) {return math::isNear(a, b, epsilon);} |
|
|
|
DEPRECATED inline float clampf(float x, float min, float max) {return math::clamp(x, min, max);} |
|
|
|
DEPRECATED inline float clamp2f(float x, float min, float max) {return clampBetween(x, min, max);} |
|
|
|
DEPRECATED inline float clamp2f(float x, float min, float max) {return clampSafe(x, min, max);} |
|
|
|
DEPRECATED inline float chopf(float x, float eps) {return chop(x, eps);} |
|
|
|
DEPRECATED inline float rescalef(float x, float a, float b, float yMin, float yMax) {return math::rescale(x, a, b, yMin, yMax);} |
|
|
|
DEPRECATED inline float crossf(float a, float b, float frac) {return crossfade(a, b, frac);} |
|
|
|
DEPRECATED inline float interpf(const float *p, float x) {return interpolateLinear(p, x);} |
|
|
|
DEPRECATED inline void cmultf(float *cr, float *ci, float ar, float ai, float br, float bi) {return cmult(cr, ci, ar, ai, br, bi);} |
|
|
|
DEPRECATED inline void cmultf(float *cr, float *ci, float ar, float ai, float br, float bi) {return complexMult(cr, ci, ar, ai, br, bi);} |
|
|
|
|
|
|
|
//////////////////// |
|
|
|
// random |
|
|
|