2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-24 13:42:06 +00:00

Fixed a crash related to AABB Tree children counts exceeding the maximum limit

This commit is contained in:
LJW-Dev
2025-11-04 18:13:31 +08:00
parent 6cd89a31b2
commit 0f70c29532
3 changed files with 92 additions and 65 deletions

View File

@@ -63,6 +63,8 @@ namespace BSP
{
constexpr unsigned int MAX_COLLISION_VERTS = UINT16_MAX;
constexpr size_t MAX_AABB_TREE_CHILDREN = 128;
enum BSPDefaultLights
{
STATIC_LIGHT_INDEX = 0,