From e9a3fdc1037b7643cf1da9e080f447b4d4daae4c Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 18 Aug 2025 03:09:14 -0600 Subject: headaches --- src/world.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/world.h') diff --git a/src/world.h b/src/world.h index 97311a1..f232333 100644 --- a/src/world.h +++ b/src/world.h @@ -48,6 +48,13 @@ typedef struct BVHNode { int8_t branchCount; } BVHNode; +#define UTILITY_LINE_COUNT 4 + +typedef struct { + Vector3 start; + Vector3 end; +} UtilityPoleLines[UTILITY_LINE_COUNT]; + struct World { Vector3 size; Texture heightmapTexture; @@ -59,6 +66,7 @@ struct World { // Transforms for mesh instancing. Matrix utilityPoleTransforms[WORLD_UTILITY_POLE_COUNT]; + UtilityPoleLines utilityPoleLines[WORLD_UTILITY_POLE_COUNT]; int bvhDebugSelect; }; -- cgit v1.2.3