summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2024-01-29 12:43:52 +0000
committer0scar <qgt268@alumni.ku.dk>2024-02-01 21:15:26 +0000
commitd549e96032614b275fab7b2810638bf9b360fcf2 (patch)
tree15492a158461e6e9e849d6c14fcc260344b13ee1 /src/utils.c
parent5caf58e76f085b80bb2b17f4ff6781fafc2f222c (diff)
Intialize GLFW and GLEW
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c
index f91ef4d..0f3d218 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -6,6 +6,8 @@
#include <engine/logging.h>
#include <engine/utils.h>
+/* These should all be in some external facing module "tools" */
+
f32 lerp(f32 dt, f32 a, f32 b) { return (a * (1.0f - dt)) + (b * dt); }
i32 int_lerp(f32 dt, i32 a, i32 b) {