summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
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) {