From 49a0487a9c02a4bcd9da965400e393820ba6372f Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 27 Jul 2025 04:29:07 -0600 Subject: Bush --- src/world.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/world.h') 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); -- cgit v1.2.3