Added Math Class

Added Rainbow Line Visual
Added Delta-Timing to Visuals
Cleanup Code Structure
This commit is contained in:
Maurice Grönwoldt 2021-02-21 23:22:01 +01:00
commit dd06aa3e35
19 changed files with 244 additions and 34 deletions

10
headers/VUtils/Math.h Normal file
View file

@ -0,0 +1,10 @@
#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);
};
}