2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-07 01:02:35 +00:00

Moved coordinate conversion to BSP creator instead of the BSP linker, and added a console print of the maximum number of objects in a collision leaf.

This commit is contained in:
LJW-Dev
2025-11-04 15:09:00 +08:00
committed by Jan Laupetin
parent b8b67dc793
commit 23fc37b1c6
4 changed files with 13 additions and 5 deletions
@@ -30,6 +30,7 @@ namespace BSP
std::vector<cNode_t> nodeVec;
std::vector<cLeaf_s> leafVec;
std::vector<CollisionAabbTree> AABBTreeVec;
size_t highestLeafObjectCount = 0;
int addAABBTreeFromLeaf(BSPTree* node, clipMap_t* clipMap);
int16_t loadBSPNode(clipMap_t* clipMap, BSPTree* tree);
void loadBSPTree(clipMap_t* clipMap, BSPData* bsp);