diff options
| author | Shauren <shauren.trinity@gmail.com> | 2025-11-06 18:34:58 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2025-11-06 18:34:58 +0100 |
| commit | 556505d59acb2d0badd3f4524f45bf16489c2dd5 (patch) | |
| tree | 6cd7ed1d183245ed852bc9703ad71d6a36017789 /src/common/Collision/DynamicTree.h | |
| parent | a9c752af97f3457101059d173a8974764db2a7d5 (diff) | |
Core/Vmaps: Expose loaded gameobject collision models in RegularGrid2D
Diffstat (limited to 'src/common/Collision/DynamicTree.h')
| -rw-r--r-- | src/common/Collision/DynamicTree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/Collision/DynamicTree.h b/src/common/Collision/DynamicTree.h index 11d701ebd7c..73c667acb29 100644 --- a/src/common/Collision/DynamicTree.h +++ b/src/common/Collision/DynamicTree.h @@ -21,6 +21,7 @@ #include "Define.h" #include "Optional.h" #include <memory> +#include <span> namespace G3D { @@ -59,6 +60,8 @@ public: void balance(); void update(uint32 diff); + + std::span<GameObjectModel const* const> getModelsInGrid(uint32 gx, uint32 gy) const; }; #endif // _DYNTREE_H |
