2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +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
committed by Jan Laupetin
parent 726809c2cb
commit 80fd8340fb
3 changed files with 92 additions and 65 deletions
+2
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,