summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-12-27 02:34:45 +0000
committerdavidovski <david@davidovski.xyz>2023-12-27 02:34:45 +0000
commit5651b14b3084d18061516c65fa58b47134b926fe (patch)
treee8e299cb976a9ff340790fa7e1e7401bdc1a3451
parent661f470cc8197f643a2ab36c35fb0630f31023aa (diff)
remove include
-rw-r--r--src/kdtree.c2
-rw-r--r--src/tiledmap.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/kdtree.c b/src/kdtree.c
index 551bc5c..cfa5866 100644
--- a/src/kdtree.c
+++ b/src/kdtree.c
@@ -17,7 +17,7 @@ kdtree_t * kdtree_create(int x, int y, char * value) {
kdtree_t * kdtree_insert_rec(kdtree_t **root, int x, int y, char * value, int depth) {
if ((*root) == NULL)
return *root = kdtree_create(x, y, value);
-
+
int e = x < (*root)->x;
if (depth % 2 == 1) e = y < (*root)->y;
diff --git a/src/tiledmap.c b/src/tiledmap.c
index bb5a1fd..a567ce3 100644
--- a/src/tiledmap.c
+++ b/src/tiledmap.c
@@ -1,6 +1,5 @@
#include <raylib.h>
#include <stdlib.h>
-#include <stdio.h>
#include <unistd.h>
#include "tiledmap.h"