From 3c0440e3bd496b8e0ed9de23c13df6a9a02fae5d Mon Sep 17 00:00:00 2001 From: HORVILLE Ewen Date: Tue, 7 Dec 2021 14:57:59 +0100 Subject: [PATCH] Update SAE --- APL1.1/SAE11_2021/utils.c | 11 ----------- APL1.1/SAE11_2021/utils.h | 7 ------- 2 files changed, 18 deletions(-) delete mode 100644 APL1.1/SAE11_2021/utils.c delete mode 100644 APL1.1/SAE11_2021/utils.h diff --git a/APL1.1/SAE11_2021/utils.c b/APL1.1/SAE11_2021/utils.c deleted file mode 100644 index e73b55e..0000000 --- a/APL1.1/SAE11_2021/utils.c +++ /dev/null @@ -1,11 +0,0 @@ -#include - -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; -} \ No newline at end of file diff --git a/APL1.1/SAE11_2021/utils.h b/APL1.1/SAE11_2021/utils.h deleted file mode 100644 index cb71ba2..0000000 --- a/APL1.1/SAE11_2021/utils.h +++ /dev/null @@ -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 \ No newline at end of file