VulcanoLE/headers/VUtils/Math.h

12 lines
473 B
C
Raw Normal View History

#pragma once
namespace VUtils {
struct Math {
static double clamp (double value, double min, double max);
static double lerp(double a, double b, double f);
static double bezierBlend(double t);
static double easeIn(double ratio);
2021-05-02 17:25:03 +02:00
static double map(double x, double in_min, double in_max, double out_min, double out_max);
2021-12-30 18:06:04 +01:00
static double cubicInterpolate (double y0, double y1, double y2, double y3, double factor);
};
}