Update SAE
This commit is contained in:
parent
8feee5a9b8
commit
3c0440e3bd
@ -1,11 +0,0 @@
|
||||
#include <math.h>
|
||||
|
||||
double LerpF(double a, double b, double t) {
|
||||
return a + (b - a) * t;
|
||||
}
|
||||
|
||||
int clamp(int x, int min, int max) {
|
||||
x = x > max ? max : x;
|
||||
x = x < min ? min : x;
|
||||
return x;
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
#ifndef _UTILS_H
|
||||
#define _UTILS_H
|
||||
|
||||
double lerpf(double a, double b, double t);
|
||||
int clamp(int x, int min, int max);
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user