summaryrefslogtreecommitdiff
path: root/src/utils/include/engine/utils.h
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2025-04-13 08:33:52 +0000
committeronelin <oscar@nelin.dk>2025-04-13 08:41:40 +0000
commit5cd270925af707599a3f842e1e969d5074ae80a8 (patch)
treef5188ad94131824710c2452cc32fee0bc156af2f /src/utils/include/engine/utils.h
parent0dfd07a115ab626c97080dbe87e3c4904f091041 (diff)
Remove custom vector implementation
cglm go brr
Diffstat (limited to 'src/utils/include/engine/utils.h')
-rw-r--r--src/utils/include/engine/utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/include/engine/utils.h b/src/utils/include/engine/utils.h
index aa1343b..5096aa4 100644
--- a/src/utils/include/engine/utils.h
+++ b/src/utils/include/engine/utils.h
@@ -6,7 +6,7 @@ extern "C" {
#endif
#include <engine/core/types.h>
-#include <engine/utils/vector.h>
+#include <cglm/ivec2.h>
#define MIN(a, b) ((a < b) ? (a) : (b))
#define MAX(a, b) ((a > b) ? (a) : (b))
@@ -31,7 +31,7 @@ u32 hash(char* str);
/* Masks surrounding tiles of a kernel size of 3x3 */
/* In reality we only need 9 bits for this, but I think I had a reason for using
* i32 */
-i32* kernmap(const void* map, i32* dstmap, const v2_i32 mapsize,
+i32* kernmap(const void* map, i32* dstmap, const ivec2 mapsize,
predicate_t* predicate);
/* Returns an index from the given weights. */