aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-08-06 12:43:37 +0000
committernathan <nathansmith@disroot.org>2025-08-06 12:43:37 +0000
commit94ca30b13bffe1f02313b7fd32b2320e5c490fa5 (patch)
tree5019ec84a0c39fd2e38a11d03672e2ccdef6020d /src/world.h
parentc5989ca9bcc1758f4d772d20b8bd4ae7762bc75e (diff)
downloadFindThings-94ca30b13bffe1f02313b7fd32b2320e5c490fa5.tar.gz
FindThings-94ca30b13bffe1f02313b7fd32b2320e5c490fa5.tar.bz2
FindThings-94ca30b13bffe1f02313b7fd32b2320e5c490fa5.zip
UGGGGG
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/world.h b/src/world.h
index 1d7dd72..fc84ca3 100644
--- a/src/world.h
+++ b/src/world.h
@@ -52,9 +52,13 @@ struct World {
Vector3 size;
Texture heightmapTexture;
Model heightmap;
+
Entity entities[WORLD_ENTITY_MAX];
- BVHNode bvh;
WorldUID places[WORLD_PLACE_COUNT];
+ BVHNode bvh;
+
+ // Transforms for mesh instancing.
+ Matrix utilityPoleTransforms[WORLD_UTILITY_POLE_COUNT];
int bvhDebugSelect;
};