summaryrefslogtreecommitdiff
path: root/include/rune_util.h
diff options
context:
space:
mode:
authorDanny Holman <dholman@gymli.org>2024-08-30 01:31:27 -0500
committerDanny Holman <dholman@gymli.org>2024-08-30 01:31:27 -0500
commit1ce6031a42d22a0f2be566e1873377ab2cda66c8 (patch)
treee1d38c3458a8202391cd1b017de0ae6bc0661ca7 /include/rune_util.h
parent6b13ea53aeedb646b082a13bf16f67f8556087ae (diff)
Makefile: retool the build systemv0.55
Retool the build system to be more modular and more flexible. Move all subsystems into separate directories and create make.config files that will conditionally compile based on information from the root Makefile. Signed-off-by: Danny Holman <dholman@gymli.org>
Diffstat (limited to 'include/rune_util.h')
-rw-r--r--include/rune_util.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/rune_util.h b/include/rune_util.h
deleted file mode 100644
index f0613c9..0000000
--- a/include/rune_util.h
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifndef RUNE_UTIL_H
-#define RUNE_UTIL_H
-
-#include <stdint.h>
-
-static inline uint32_t clamp(uint32_t value, float min, float max) {
- const uint32_t ret = value < min ? min : value;
- return ret > max ? max : ret;
-}
-
-#endif