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