Start COBBTree

Former-commit-id: e5668e767e
This commit is contained in:
2023-06-23 17:15:06 -07:00
parent 9a1022d016
commit cf8cb69b61
4 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#ifndef _COBBTREE
#define _COBBTREE
#include "Kyoto/Math/CVector3f.hpp"
#include "WorldFormat/CCollisionEdge.hpp"
#include "rstl/vector.hpp"
class COBBTree {
struct SIndexData {
rstl::vector<u32> x0_materials;
rstl::vector<u8> x10_vertMaterials;
rstl::vector<u8> x20_edgeMaterials;
rstl::vector<u8> x30_surfaceMaterials;
rstl::vector<CCollisionEdge> x40_edges;
rstl::vector<u16> x50_surfaceIndices;
rstl::vector<CVector3f> x60_vertices;
SIndexData(CInputStream& in);
};
};
#endif // _COBBTREE