aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-29 01:18:25 +0000
committernathan <nathansmith@disroot.org>2025-07-29 01:18:25 +0000
commit2aae6dcb8e4ab7261f4449e99b7724e665db3e3b (patch)
treef39df5db9d4bbaaf4ae9fc4bde26ab790e8be985 /src/utils.h
parented3b4610cf773de562b3c55f452fbf7bf5b12b00 (diff)
downloadFindThings-2aae6dcb8e4ab7261f4449e99b7724e665db3e3b.tar.gz
FindThings-2aae6dcb8e4ab7261f4449e99b7724e665db3e3b.tar.bz2
FindThings-2aae6dcb8e4ab7261f4449e99b7724e665db3e3b.zip
Cant focus lmao
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/utils.h b/src/utils.h
index 6532660..63785eb 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -37,15 +37,6 @@
#define GLSL_VERSION 100
#endif
-// Typedef hackery.
-typedef struct Game Game;
-typedef struct World World;
-
-typedef enum FTError {
- FTERROR = -1,
- FTSUCCESS = 0
-} FTError;
-
// Bit shit.
#define SET_BIT(b, n) (b | (0x1 << n))
#define CLEAR_BIT(b, n) (b & ~(0x1 << n))
@@ -61,4 +52,13 @@ typedef enum FTError {
#define PRINT_VECTOR2(v) printf("%f %f\n", v.x, v.y)
#define PRINT_VECTOR3(v) printf("%f %f %f\n", v.x, v.y, v.z)
+// Typedef hackery.
+typedef struct Game Game;
+typedef struct World World;
+
+typedef enum FTError {
+ FTERROR = -1,
+ FTSUCCESS = 0
+} FTError;
+
#endif