diff options
author | nathan <nathansmith@disroot.org> | 2025-08-18 09:09:14 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-08-18 09:09:14 +0000 |
commit | e9a3fdc1037b7643cf1da9e080f447b4d4daae4c (patch) | |
tree | 40a800eb82c43236cc8ca8d8ed56d68789c826f4 /src/world.h | |
parent | a53fddc7cb1f095145344c8781c0bea82c46babb (diff) | |
download | FindThings-e9a3fdc1037b7643cf1da9e080f447b4d4daae4c.tar.gz FindThings-e9a3fdc1037b7643cf1da9e080f447b4d4daae4c.tar.bz2 FindThings-e9a3fdc1037b7643cf1da9e080f447b4d4daae4c.zip |
headaches
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; }; |