From c5989ca9bcc1758f4d772d20b8bd4ae7762bc75e Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 6 Aug 2025 03:55:04 -0600 Subject: Working on utility poles --- src/entity.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/entity.h') diff --git a/src/entity.h b/src/entity.h index 231304f..68caf64 100644 --- a/src/entity.h +++ b/src/entity.h @@ -5,14 +5,18 @@ #ifndef ENTITY_H #define ENTITY_H -#define ENTITY_COUNT 6 +#define ENTITY_COUNT 7 #define TREE_SCALE 40.0 #define BUSH_SCALE 8.0 #define FLOWER_SCALE 3.0 + #define POND_SIZE 250.0 #define POND_HEIGHT 10.0 +#define UTILITY_POLE_HEIGHT 100.0 +#define UTILITY_POLE_RADIUS 3.0 + typedef int8_t EntityId; enum { @@ -22,12 +26,13 @@ enum { TREE, BUSH, FLOWER, - POND + POND, + UTILITY_POLE }; typedef struct { EntityId id; - Vector3 position; // Shouldnt be changed accessed directly. + Vector3 position; // Shouldnt be changed directly. BoundingBox box; } Entity; -- cgit v1.2.3