mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 16:52:35 +00:00
Materials now have their own vector and are acessed via indexes
This commit is contained in:
@@ -31,10 +31,13 @@ namespace BSP
|
||||
std::vector<cLeaf_s> leafVec;
|
||||
std::vector<CollisionAabbTree> AABBTreeVec;
|
||||
size_t highestLeafObjectCount = 0;
|
||||
std::vector<unsigned> partitionToSurfaceMap;
|
||||
std::vector<unsigned> surfaceToMaterialMap;
|
||||
void addAABBTreeFromLeaf(clipMap_t* clipMap, BSPTree* tree, size_t* out_parentCount, size_t* out_parentStartIndex);
|
||||
int16_t loadBSPNode(clipMap_t* clipMap, BSPTree* tree);
|
||||
bool loadBSPTree(clipMap_t* clipMap, BSPData* bsp);
|
||||
bool loadPartitions(clipMap_t* clipMap, BSPData* bsp);
|
||||
bool loadWorldCollision(clipMap_t* clipMap, BSPData* bsp);
|
||||
bool loadMaterials(clipMap_t* clipMap, BSPData* bsp);
|
||||
};
|
||||
} // namespace BSP
|
||||
|
||||
Reference in New Issue
Block a user