aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-29 03:07:22 +0000
committernathan <nathansmith@disroot.org>2025-07-29 03:07:22 +0000
commit6bcf165f3af3da713953b9b3b80b4f101f7a0f7a (patch)
tree7b85781c886cd18f10f119944c59e51310ca0d51 /src/world.h
parent2aae6dcb8e4ab7261f4449e99b7724e665db3e3b (diff)
downloadFindThings-6bcf165f3af3da713953b9b3b80b4f101f7a0f7a.tar.gz
FindThings-6bcf165f3af3da713953b9b3b80b4f101f7a0f7a.tar.bz2
FindThings-6bcf165f3af3da713953b9b3b80b4f101f7a0f7a.zip
Lazy
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/world.h b/src/world.h
index 3b1ca4d..2097c94 100644
--- a/src/world.h
+++ b/src/world.h
@@ -5,8 +5,8 @@
#ifndef WORLD_H
#define WORLD_H
-#define WORLD_ENTITY_MAX 1500
-#define WORLD_PLANT_COUNT 500
+#define WORLD_ENTITY_MAX 3000
+#define WORLD_PLANT_COUNT 1000
#define WORLD_PLACE_COUNT 1
#define WORLD_SIZE (Vector3){4096.0, 256.0, 4096.0}
@@ -23,6 +23,9 @@
#define BVH_MAX_BRANCH_COUNT 8
#define BVH_BOX_MAX 100.0
+// Places.
+#define PLACE_POND_MAX_DISTANCE 100 // Max distance from center.
+
// UID for anything in the world.
typedef int16_t WorldUID;
typedef int Seed;