Added Math Class
Added Rainbow Line Visual Added Delta-Timing to Visuals Cleanup Code Structure
This commit is contained in:
parent
238e22caf6
commit
dd06aa3e35
19 changed files with 244 additions and 34 deletions
10
headers/VUtils/Math.h
Normal file
10
headers/VUtils/Math.h
Normal 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);
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue