aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authornathan <nathan@disroot.org>2025-07-09 04:51:18 +0000
committernathan <nathan@disroot.org>2025-07-09 04:51:18 +0000
commita859191288d7de81b52434cfa3cebcfd2aadab2b (patch)
tree4a6b0f632846d3b9a60f4f51c59339072f2df2eb /src/world.h
parent4819292821b51083538d4d4880e90d0d3314f839 (diff)
downloadFindThings-a859191288d7de81b52434cfa3cebcfd2aadab2b.tar.gz
FindThings-a859191288d7de81b52434cfa3cebcfd2aadab2b.tar.bz2
FindThings-a859191288d7de81b52434cfa3cebcfd2aadab2b.zip
Slight changes
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/world.h b/src/world.h
index c086f1d..69c2015 100644
--- a/src/world.h
+++ b/src/world.h
@@ -11,7 +11,7 @@
#define BVH_LEAF_COUNT 250
#define BVH_OVERLAP_MULTIPLIER 100.0
-#define WORLD_ENTITY_MAX 3000
+#define WORLD_ENTITY_MAX 1000
#define WORLD_SIZE (Vector3){1000.0, 100.0, 1000.0}
#define WORLD_IMAGE_WIDTH 100
#define WORLD_IMAGE_HEIGHT 100
@@ -42,6 +42,6 @@ void updateWorld(World* world, Game* game);
void freeWorld(World world);
// Dam, I wanta live in a free world ):
-float getWorldHeightAtLocation(World world, float x, float y);
+float getWorldHeightAtLocation(const World* world, float x, float y);
#endif