diff options
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 8 |
1 files changed, 8 insertions, 0 deletions
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; }; |