aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-27 10:29:07 +0000
committernathan <nathansmith@disroot.org>2025-07-27 10:29:07 +0000
commit49a0487a9c02a4bcd9da965400e393820ba6372f (patch)
tree877fc60f249119704b60800e2b3d94895ee5a9f6 /src/world.h
parent68a46c5d8e92218622c93bd3b5356c25c079fef4 (diff)
downloadFindThings-49a0487a9c02a4bcd9da965400e393820ba6372f.tar.gz
FindThings-49a0487a9c02a4bcd9da965400e393820ba6372f.tar.bz2
FindThings-49a0487a9c02a4bcd9da965400e393820ba6372f.zip
Bush
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/world.h b/src/world.h
index 0a90ec4..606ae46 100644
--- a/src/world.h
+++ b/src/world.h
@@ -14,7 +14,7 @@
#define WORLD_IMAGE_WIDTH 100
#define WORLD_IMAGE_HEIGHT 100
#define WORLD_IMAGE_SCALE 5.0
-#define WORLD_TREE_COUNT 500
+#define WORLD_PLANT_COUNT 500
#define WORLD_GROUND_COLOR GREEN
#define WORLD_GROUND_BLUR 4
@@ -31,7 +31,7 @@ typedef struct BVHNode {
int8_t branchCount;
} BVHNode;
-typedef struct {
+struct World {
Vector3 size;
Texture texture;
Model heightmap;
@@ -39,7 +39,7 @@ typedef struct {
BVHNode bvh;
int bvhDebugSelect;
-} World;
+};
World createWorld(Seed seed);
void updateWorld(World* world, Game* game);