diff options
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 6 |
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); |