aboutsummaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorfschildt <florian.schildt@protonmail.com>2025-09-29 16:12:03 +0200
committerfschildt <florian.schildt@protonmail.com>2025-09-29 16:12:03 +0200
commit41c2e2ecfcccf62b3c646980dd283848e33a8134 (patch)
treebb5764261560445f6348c5806a6f77b7aa19b740 /src/basic
parent9d72ed2d5801b1506158082f08bd0b47e58db17f (diff)
main: minor refactor
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/defs.hpp2
-rw-r--r--src/basic/math.hpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/src/basic/defs.hpp b/src/basic/defs.hpp
index bfd302e..858bdd7 100644
--- a/src/basic/defs.hpp
+++ b/src/basic/defs.hpp
@@ -1,8 +1,6 @@
#pragma once
#include <cassert>
-#include <cstdint>
-#include <cstddef>
#define ARRAY_COUNT(x) (sizeof(x) / sizeof(x[0]))
diff --git a/src/basic/math.hpp b/src/basic/math.hpp
index c5b5940..a3e4b64 100644
--- a/src/basic/math.hpp
+++ b/src/basic/math.hpp
@@ -1,7 +1,12 @@
#pragma once
+
#include <basic/defs.hpp>
+#include <cstddef>
+#include <cstdint>
+
+
struct V2ST {
size_t x;
size_t y;