Update SAE

This commit is contained in:
HORVILLE 2021-12-07 14:57:59 +01:00
parent 8feee5a9b8
commit 3c0440e3bd
2 changed files with 0 additions and 18 deletions

View File

@ -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;
}

View File

@ -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